-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error : ip is not found while trying to open linkerd admin dasboard #78
Comments
@andela-ooladayo what version of Kubernetes are you running? |
@wmorgan 1.5.0 |
Hey @andela-ooladayo, thanks for reporting this. I tried out the k8s configs from this repo on Kubernetes 1.5.2, and the apps loaded successfully for me. Here's what I think is going on:
When setting up a Kubernetes service that creates a load balancer, the service is created immediately, but the load balancer is created asynchronously. I've seen it take as long as 5 minutes to acquire an external IP after the service is created. So I think it's possible that the service didn't have an external IP yet when you ran this command, which caused it to fail. We should include a note in the documentation that explains that there might be some delay before the external IP is available.
The I'll leave this issue open to track updating the documentation. In the meantime, would you mind redeploying to your Kubernetes 1.5 setup, to see if the service picks up an external IP eventually? |
I understand the part where load balancer is not ready, the error will be different in that case.
Which means the ip have been changed to hostname, so |
@andela-ooladayo Nice find! I was doing my testing on GCE, which sets https://kubernetes.io/docs/api-reference/v1/definitions/#_v1_loadbalanceringress Good catch. I'll update our docs to reference that when determining the external ip. |
For my own reference, it looks like we can update the documentation to:
And I think that should work on both platforms. |
I got the error below while trying to open admin dashboard according to the instruction on the doc(linkerd-examples/k8s-daemonset)
error: error executing jsonpath "{.status.loadBalancer.ingress[0].ip}": ip is not found -bash: open: command not found
When I check the content of the JSON using:
kubectl get svc l5d --output=json
I discovered that ip has been changed to hostname from kubernetes 1.5.0.
The text was updated successfully, but these errors were encountered: