1 Answers
The available IP address range can be found in the implemented API server under spec.containers.command –service-cluster-ip-range.
You can view that info in the kube-apiserver pod within the kube-system namespace in multiple ways. 2 simple ways are via the Dashboard https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#deploying-the-dashboard-ui
or via this command:
kubectl -n kube-system get pods kube-apiserver-docker-desktop -o json.
You can also choose your own IP address (within the above stated range)
https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
Some additional reading: https://kubernetes.io/docs/concepts/services-networking/service/
Hope this helps.
Thanks John! Very helpful
I found this from the documentation — but again it simply says … "Kubernetes assigns … " Anyone have any details on how?