Search code examples
kubernetesignite

Kubernetes is giving junk external ip


Kubernetes is giving junk external ip, check output of below command:

$ kubectl get svc frontend -n web-console

NAME       TYPE           CLUSTER-IP     EXTERNAL-IP        PORT(S)        AGE
frontend   LoadBalancer   100.68.90.01   a55ea503bbuddd...   80:31161/TCP   5d

Please help me to understand what's this external IP means


Solution

  • According to this : https://kubernetes.io/docs/concepts/services-networking/service/#external-ips

    Traffic that ingresses into the cluster with the external IP (as destination IP), on the Service port, will be routed to one of the Service endpoints. externalIPs are not managed by Kubernetes and are the responsibility of the cluster administrator.

    It seems you selected LoadBalancer type your cloud provider provided you a loadbalancer and that externalip is that loadbalancer dns name.