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/
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With