How can I find what IP block is used by the api-service (or whatever other component is responsible) to dole out the service IPs, from a live cluster.
We use a self managed Kubernetes cluster deployed on AWS using terraform. The networking is managed by Calico. However from what I have read it seems like calico is only responsible for the pod and container IPs.
您可以在命令下方运行,然后在输出中找到群集IP范围,例如--service-cluster-ip-range=xxxx/x
kubectl cluster-info dump | grep --color service-cluster-ip-range
这是在初始运行时传递给您的kube-apiserver的变量,例如:
--service-cluster-ip-range=10.3.0.0/20
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.