Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

What's the smallest instance size I can use? #138

Closed
cisnky opened this issue Dec 7, 2016 · 6 comments
Closed

What's the smallest instance size I can use? #138

cisnky opened this issue Dec 7, 2016 · 6 comments

Comments

@cisnky
Copy link

cisnky commented Dec 7, 2016

With 0.8.3 I could use t2.micro for the controller and the worker.

On 0.9.1 after setting up the cluster, I can't connect if using t2.micro.

@cisnky
Copy link
Author

cisnky commented Dec 7, 2016

Worked my way up till it worked with t2.medium.

@pieterlange
Copy link
Contributor

pieterlange commented Dec 7, 2016

t2.micro (with 1GB memory) is pushing it for the controller server. On my cluster(s) the kube components peak above 1GB. I would also advise against using the T2 instance type for the controller if you're running anything serious.

Also note that kube-aws comes with a bunch of components by default: heapster and dashboard use some memory and CPU as well.

@mandrean
Copy link

From my company's real-world experiences, I'd say bare minimum for production is 1x m3.medium for both controller and etcd. But preferably at least 3x m3.medium for HA.

Skip the t2s for controller/etcd in production. You're screwed when you run out of CPU credits. Only use them for worker nodes.

@gamykla
Copy link

gamykla commented Dec 13, 2016

I got stuff working with on nanos with 0.8.2 .. I really wish smaller instances worked!

@mumoshu
Copy link
Contributor

mumoshu commented Dec 15, 2016

Thanks for bringing this up and for the info everyone!
I'm closing this as it is now documented in #162.

@scribnar
Copy link

@mandrean What you mean you are screwed if CPU credits expire? The baseline performance is still available so the controller will continue to run albeit with slow performance. I understand thats not a recommended scenario however you comment sounds like that is very dangerous scenario. I may be missing something here. Can you please explain "you are screwed"? Thanks.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

6 participants