-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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
Provide an easy way to bootstrap a cluster on Mac OS #3244
Comments
This could be fixed by building a kubernetes-ready VM images using something like https://packer.io/. That's something @kelseyhightower mentioned before. This could also build up on the work @jbeda is doing in #2303 |
Vagrant should work. I know that we have run it successfully on OS X in --brendan On Tue, Jan 6, 2015 at 5:50 AM, Johan Euphrosine notifications@github.com
|
@brendanburns Are there instructions on how you run Kubernetes with Vagrant on OS X? |
the standard vagrant instructions: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/vagrant.md Should work. --brendan On Tue, Jan 6, 2015 at 3:36 PM, Arun Gupta notifications@github.com wrote:
|
I'm working on this with Vagrant + CoreOS and am almost getting there! I'm just trying to understand why my containers can't read from http://
Can anyone help me figuring this out? I'm running Kubernetes 0.8.0. |
In case it helps, here's minion output
|
Does this happens because I try Also, if inside a container I try to access both insecure and secure endpoints
See that accessing other ports hangs curl and eventually return a timeout. |
If anyone wants to help debug this, please use https://github.com/pires/kubernetes-vagrant-coreos-cluster. All instructions included. |
No http should work. It looks like the service proxy on the minion can't Brendan
|
Do you mean I should try and access master at VM level, right?
It works. |
@brendandburns I'm seeing #3326 when running on OS X 10.10.1. Any suggestions? |
Testing with flannel IPs doesn't work, same issue:
Any routing issues? IPTables on master and minions accepts everything by default. |
In case it helps
So,
|
Routing table
|
@pires if you are running a version of Vagrant greater >= 1.7.1 there was a change to how provisioners are setup that is causing the bug you are probably seeing. I think most of us on the project are still on 1.6.x plug-in version, so we did not encounter it recently. As I said on #3326, I can fix this tomorrow AM to work on the latest version of Vagrant, and then you should be set to go. For now, if you run Vagrant 1.6.x our current solution will work fine on Mac OS X. |
@derekwaynecarr you're a life-saver then, thanks. Will be waiting on your commit then. |
@derekwaynecarr tried with Vagrant 1.6.5. Same issue :( |
I am looking into this this morning with a colleague on a Mac, we will get this addressed. There should not be a need to define an alternate setup. This has been relatively stable for a long time, and is in wide use, but its possible there was a regression. |
So, it seems I only had to pass |
@csrwng is trying to reproduce this issue on mac from HEAD, I did upgrade to vagrant 1.7.2 on linux to try to see if that was the cause, but we actually appeared to work fine there too. |
So my builds were failing with boot2docker v1.2. I upgraded to boot2docker 1.4.1 (latest) and installed gnu-tar (brew install gnu-tar) and now 'make release' succeeds. |
@pires - I don't think it's the same issue. I was running 'make release' and everything would run, including e2e tests, up to the point of syncing the binaries back to the host. And then it would time out. The boot2docker update got me past that. |
Ah, my version works now. It's realy easy for anyone working with Vagrant and Virtualbox and you can set how many minions you want. Networking issues are fixed :-) I'm closing this now. See kuebernetes-vagrant-coreos-cluster and if you're interested, I'd be more than glad to make a PR. |
I've tried bootstrapping a cluster with boot2docker and Vagrant but without luck. As a developer using Mac OS X, this is quite frustrating. Also, going with a cloud provider like GCE comes at a cost.
Is it possible to provide a simple way of bootstrapping a cluster (even that one with only one node)?
The text was updated successfully, but these errors were encountered: