I’m following Nigel’s discussion regarding the POD network, the Node Network and SVC network as a concept. I understand the that SVC IP is static. But where / when / how / who is assigning the the IP to the SVC object? Where does it come from?
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)
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?