3 ms·
> it was more common to deploy several systems, often complex ones, onto the same node. Yeah we do this? It doesn’t pose an issue though. Cordon the node (stop
by FridgeSeal 3y ago
> it was more common to deploy several systems, often complex ones, onto the same node.
Yeah we do this? It doesn’t pose an issue though. Cordon the node (stop any new deployment going on), drain it to remove all current workloads (these either have replicas, or can be moved to another node, if we don’t have a suitable node, K8s spins up one automatically) and then remove the node. Most workloads either have replicas spare, or in the case of “singleton” workloads, have configs ensuring the cluster must always have 1 replica available, so it’s waits for the new one to come up before killing the old. Most machines deploy and join the cluster in a couple of minutes, and most of our containers take only like, 1 or 2 seconds to deploy and start serving on a machine, so rolling a node is a really low impact process.