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

Need a reliable and low latency local cluster setup for Kubernetes #1

Closed
vishh opened this issue Apr 15, 2016 · 11 comments
Closed

Need a reliable and low latency local cluster setup for Kubernetes #1

vishh opened this issue Apr 15, 2016 · 11 comments
Milestone

Comments

@vishh
Copy link
Contributor

vishh commented Apr 15, 2016

Derived from kubernetes/kubernetes#24106

  1. A new Kubernetes user should be able to setup a cluster locally in less than a minute.
  2. A Kubernetes user should be able to test their application using the local cluster
  3. For the features supported in the local cluster, environment in the local cluster must match that of production.
@sebgoa
Copy link

sebgoa commented Apr 16, 2016

@vishh it would be nice to explain why the current ways of starting things locally don't meet those needs.

Like the local-cluster-up.sh script or the vagrant boxes.

@davidopp
Copy link
Member

cc/ @mikedanese

@luxas
Copy link
Member

luxas commented Apr 18, 2016

Do you think we should run the all-in-one-binary inside a container?

I think so, or we should do something to cAdvisor that makes kubelet compile dynamically and therefore add a hard dependency on libc, which I see as very bad.

@vishh
Copy link
Contributor Author

vishh commented Apr 18, 2016

Do you think we should run the all-in-one-binary inside a container?

@luxas As you already know, there are quite a few issues that needs to be resolved for getting the all-in-one binary to run inside a container, quite similar to hyperkube. It does not matter to the end user how we run the core components. They interact with kubectl primarily. We also want to support alternate runtimes in the future, rkt for example, without requiring much change. Given that we are attempting to hide all the implementation details, we can totally switch to a container based model in the future, once it works, without breaking users. Thoughts?

@Runseb kubernetes/kubernetes#24106 should provide the motivation for attempting to improve the local cluster experience.

@luxas
Copy link
Member

luxas commented Apr 18, 2016

@vishh With all-in-one-binary I meant ~monokube, which runs etcd, kubelet, scheduler, apiserver, controller-manager, kube-proxy and maybe dns.

I think we should run the server of minikube inside a docker container.
If it does work directly on a linux host and is statically built (no libc dep) we should consider running out of a container.

@vishh
Copy link
Contributor Author

vishh commented Apr 18, 2016

On Mon, Apr 18, 2016 at 12:36 PM, Lucas Käldström [email protected]
wrote:

@vishh https://github.com/vishh With all-in-one-binary I meant ~monokube,
which runs etcd, kubelet, scheduler, apiserver, controller-manager,
kube-proxy and maybe dns.

I think we should run the server of minikube inside a docker container.

We have discussed in lengths as to why running in docker directly is
problematic in kubernetes/kubernetes#24106.

If it does work directly on a linux host and is statically built (no libc
dep) we should consider running out of a container.

IIUC, the main issue with static linking is cAdvisor. If we solve that
problem, we are safe I think.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#1 (comment)

@luxas
Copy link
Member

luxas commented Apr 18, 2016

Yes, I would really want to know why cAdvisor forces kubelet to have libc

@rata
Copy link
Member

rata commented Apr 19, 2016

@luxas if no DNS is deployed in the cluster, I don't think "2." in the first report of this bug is possible, as an application uses DNS for service discovery and without it it won't be possible to test many applications.

@luxas
Copy link
Member

luxas commented Apr 19, 2016

@rata I didn't mean dns should be optional, I just meant that dns maybe should be in the same binary.

@rata
Copy link
Member

rata commented Apr 19, 2016

@luxas: oh, sorry! My bad :)

@dlorenc dlorenc modified the milestone: 0.1 Release Apr 25, 2016
@dlorenc
Copy link
Contributor

dlorenc commented May 27, 2016

Going to close this out for now. I believe minikube accomplishes this :)

@dlorenc dlorenc closed this as completed May 27, 2016
jimmidyson added a commit to jimmidyson/minikube that referenced this issue Jul 14, 2016
s-urbaniak pushed a commit to s-urbaniak/minikube that referenced this issue Oct 13, 2016
@r2d4 r2d4 mentioned this issue Mar 21, 2017
klaases pushed a commit to klaases/minikube that referenced this issue Apr 14, 2022
medyagh pushed a commit that referenced this issue Sep 20, 2023
spowelljr pushed a commit that referenced this issue Jul 15, 2024
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

6 participants