You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CKS: spread control, etcd and worker nodes across hosts by default #14762
As a CKS user, I want the nodes of each type in my Kubernetes cluster spread across hosts by default, so that one host failure does not take down the whole control plane or every etcd member.
Today
Placement
Control, etcd and worker VMs of a CKS cluster can all land on the same host
Workaround
Create host anti-affinity groups by hand and pass them per node type at create time (#12386)
Risk
Users who don't know to do this get clusters where one host loss = full control plane / etcd quorum loss
Proposal
When no affinity group is given for a node type, CKS creates a non-strict host anti-affinity group for that node type of the cluster and uses it (workers always; control and etcd when there are 2+).
Non-strict only prefers other hosts, so clusters still deploy and scale when there are fewer hosts than nodes.
User-specified groups win; no default for that node type then.
New account-scoped setting to turn it off.
Groups CKS created are deleted with the cluster. User groups are never touched.
Activity