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

localkube problems with Docker for Mac Beta #49

Open
wstrange opened this issue Apr 4, 2016 · 4 comments
Open

localkube problems with Docker for Mac Beta #49

wstrange opened this issue Apr 4, 2016 · 4 comments

Comments

@wstrange
Copy link

wstrange commented Apr 4, 2016

A couple of issues with the new native "Docker for Mac" https://beta.docker.com/docs/

  1. The ~/.kube/config entry for localkube uses server 127.0.0.1:8080 to talk to the Kube API server.
    Changing this to 192.168.64.8:8080 fixed the issue for me. This is the IP used by the new docker daemon. I discovered this via "ping docker.local"

  2. Kubernetes comes up (I think) -in that I can talk to the API server- but a kubectl get nodes shows
    "not ready"

All my pods show "pending" state - because there are no nodes to schedule them on

@ethernetdan
Copy link
Member

@wstrange I haven't gotten an invite yet so not sure how far I will be able to troubleshoot

  1. We are using a sketchy technique to determine which URL to use for the Kube API server. Seems like Docker for Mac uses Unix sockets (for the Docker daemon) which causes this method to think it's Linux. We should look for a better way to determine this.

  2. Would you mind posting the logs of the localkube container?
    You can get them with:
    docker logs $(docker ps --filter="label=rsprd.com/name=localkube" --quiet)
    Hopefully they'll show why the Node never made it into the Ready state.

@wstrange
Copy link
Author

Hi Dan

I am having trouble running localkube now - the containers keep restarting.

Here is the output

https://gist.github.com/wstrange/9d13524f2a5f9956ad8c95840b387deb

@zoidyzoidzoid
Copy link
Contributor

zoidyzoidzoid commented May 18, 2016

Any update on this?

Should I re-create this issue in minikube?

@ethernetdan
Copy link
Member

@zoidbergwill that's a good idea, as minikube becomes more stable the plan is to start closing this localkube.

I'm still waiting to get into the beta so haven't been able to get going with this :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants