Home > Mobile >  k8s obtained cluster IP is different from the set cluster IP
k8s obtained cluster IP is different from the set cluster IP

Time:06-07

Today my colleague asked me a question, I don't know how to answer, he explained that "service-cluster-ip-range=10.96.0.0/12" has been set, but why are there still different cluster ips in the k8s cluster.

Who can help me answer this question ?

thanks

enter image description here

enter image description here

CodePudding user response:

...he explained that "service-cluster-ip-range=10.96.0.0/12" has been set

The use of CIDR 10.96.0.0/12 will have range start from 10.96.0.1 to 10.111.255.254. There is nothing wrong with those IP(s) your screenshot.

  • Related