Skip to content

Anti-affinity for k8s nodes (control-plane and workers) #226

Closed
SovereignCloudStack/standards
#336

Description

@garloff

As a user, I want to be sure that having containers on different nodes are not going down simultaneously because they are actually VMs (servers) on the same host (hypervisor). I need this to be the default behavior.

The control plane must survive for the cluster to survive. This requires hard anti-affinity (or in a shared control plane enough redundancy guaranteed otherwise).
For workers, we still want to avoid co-scheduling, but it does not necessarily need to be a hard anti-affinity.

This could be made opt-out, which could be useful for very small environments.

Definition of Done:

  • A standardization document is written (we only produced a Decision Record with this issue in the end)
  • A follow up issue is created.

Activity

  1. garloff commented on Dec 7, 2022

    @garloff
    MemberAuthor

    In previous meetings we had agreed that using

    • hard anti-affinity on control plane nodes
      (ignore for shared control plane but require enough redundancy in a different way then)
    • soft anti-affinity on work nodes
      is the right default.
  2. self-assigned this
    on Aug 24, 2023
  3. added
    Container
    SCS is standardized
    standards
    SCS-VP10
    on Aug 24, 2023
  4. linked a pull request that will close this issueAnti-affinity for k8s nodes (#226) #336on Aug 25, 2023
  5. moved this from Backlog to Doing in Sovereign Cloud Stackon Sep 14, 2023
  6. added
    Sprint Ljubljana
    on Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ContainerSCS is standardizedSCS-VP10Sprint Ljubljanastandards

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions