Skip to content
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

cluster/kubecfg.sh always fails saying "external-ip" #1392

Closed
palladius opened this issue Sep 21, 2014 · 1 comment
Closed

cluster/kubecfg.sh always fails saying "external-ip" #1392

palladius opened this issue Sep 21, 2014 · 1 comment
Assignees
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@palladius
Copy link

I'm following the documentation on this doc: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/gce.md

Everything works until this command:

# cluster/kubecfg.sh -p 8080:80 run dockerfile/nginx 2 myNginx
F0921 12:42:50.605917 03880 kubecfg.go:419] Error: Post https://external-ip/api/v1beta1/replicationControllers: dial tcp: lookup external-ip: no such host

I get this error consistently from different VMs (a Debian and a CoreOS).
Maybe I have to edit /etc/hosts to add the "external-ip" with the public IP of some server? Docs don't seem clear.

Thanks,
Riccardo

@brendandburns
Copy link
Contributor

Its failing to look up your master correctly. You can try setting
KUBERNETES_MASTER=http://

Brendan
On Sep 21, 2014 5:45 AM, "Riccardo Carlesso" notifications@github.com
wrote:

I'm following the documentation on this doc:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/gce.md

Everything works until this command:
cluster/kubecfg.sh -p 8080:80 run dockerfile/nginx 2 myNginx

F0921 12:42:50.605917 03880 kubecfg.go:419] Error: Post
https://external-ip/api/v1beta1/replicationControllers: dial tcp: lookup
external-ip: no such host

I get this error consistently from different VMs (a Debian and a CoreOS).
Maybe I have to edit /etc/hosts to add the "external-ip" with the public
IP of some server? Docs don't seem clear.

Thanks,
Riccardo


Reply to this email directly or view it on GitHub
#1392.

@bgrant0607 bgrant0607 added the kind/support Categorizes issue or PR as a support question. label Sep 22, 2014
@bgrant0607 bgrant0607 self-assigned this Sep 22, 2014
brendandburns added a commit that referenced this issue Sep 22, 2014
Fixes #1392. Redirects error messages to stderr so users can see them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants