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
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