Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LINKERD: Pending External IP in Kubernetes on Ubuntu

enter image description here

I have installed kubernetes on my ubuntu machine when I tried to run the following command I see external-IP as "pending", where svc.yml is service object in linkerd, link below

link: https://linkerd.io/getting-started/k8s/

like image 748
zillani Avatar asked Mar 09 '17 11:03

zillani


People also ask

How do I get the IP address for Kubernetes service?

To find the cluster IP address of a Kubernetes pod, use the kubectl get pod command on your local machine, with the option -o wide . This option will list more information, including the node the pod resides on, and the pod's cluster IP. The IP column will contain the internal cluster IP address for each pod.


1 Answers

The yaml you specified for the Service has type: LoadBalancer. That will only work with a cloud provider - so not on your bare metal Ubuntu installation.

Modify the Service definition and specify a different type, for example clusterIP

like image 78
Janos Lenart Avatar answered Sep 22 '22 04:09

Janos Lenart