Re:Manage Kubernetes Clusters on AWS Using Kops
by yebyen on Friday July 07, 2017 @12:38PM
(#14719782)
I think I heard about that. Does sound like a pretty big gotcha, but I think you're right that it won't be a problem for my use case. Hopefully I can spend some time this weekend to try it out!
Re:Manage Kubernetes Clusters on AWS Using Kops
by philipcristiano on Friday July 07, 2017 @12:51PM
(#14719890)
The autoscaler will add minions when there is a pod that cannot be scheduled. It doesn't help in balancing existing things, but at least the new pod should be able to go there.
Re:Manage Kubernetes Clusters on AWS Using Kops
by jdc0589 on Friday July 07, 2017 @12:56PM
(#14719933)
I saw that and was confused, I thought that would work out of the box with k8s since (I think?) it continually tries to keep scheduling pods; I must be wrong though.
If balancing gets implemented, am I correct that it would probably happen in k8s core?
Re:Manage Kubernetes Clusters on AWS Using Kops
by yebyen on Friday July 07, 2017 @10:32PM
(#14723743)
I think I wouldn't assume that, myself; at least not after my stint in VietMWare (PTSD from a prior vSphere/vSAN experience)
We had VMTurbo/Turbonomic and VMWare's internal DRS that would sometimes compete against each other to decide where VMs should be scheduled.
You could handle balancing from inside of k8s core, or not. All you need is to evict the pod on the over-provisioned node, and to arrange for provisioning of the replacement node before the original pod is fully evicted. It should be the same for Kubernetes, if I had to guess.
So, if your workload is made up of lots of short lived ephemeral stuff you are good to go, but otherwise you may have to manually step into rebalance stuff to new nodes.
The autoscaler addon might have addressed some of this, but I'm not seeing anything obvious after a cursory overview of the docs.