Skip to content

Custom drain command #73

@sebastiangaiser

Description

@sebastiangaiser

Hey, when doing upgrades talosctl is used to drain nodes before doing the actual upgrade.

Unfortunately talosctl is ignoring e.g. PodDisruptionBudget blocking drains: siderolabs/talos#9882
To mitigate this, an extension to the CRD like

spec:
  drain:
    image:
    command:
    args:

Would be interesting to specify own ways of draining the node before talosctl would start. This could e.g. be implemented as an optional additional init container.

What do you think about this? Thanks in advance 👋🏻

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions