Skip to content

Add service-cluster-ip-range flag to kube-apiserver config#910

Closed
kagawish wants to merge 1 commit intokelseyhightower:masterfrom
kagawish:patch-1
Closed

Add service-cluster-ip-range flag to kube-apiserver config#910
kagawish wants to merge 1 commit intokelseyhightower:masterfrom
kagawish:patch-1

Conversation

@kagawish
Copy link

@kagawish kagawish commented Nov 12, 2025

I think the kube-apiserver service configuration needs to include "--service-cluster-ip-range=10.32.0.0/24" to match the service configuration for kube-controller-manager.

Otherwise, the Kubernetes API service gets assigned the "10.0.0.1" ClusterIP by default because this service gets created by kube-apiserver. This, in turn, causes a problem when trying to curl with the API from inside any pod because the pod CA is configured to only verify 10.32.0.1 and not 10.0.0.1 ca.conf.

@kagawish
Copy link
Author

Already done here: #879

@kagawish kagawish closed this Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant