Skip to content

drain option configuable #724

Open

Description

When I upgrade k0s cluster, I got sometimes failure to upgrade node have some Statefulset that has long time to migrate.
And I'd like to drain gracefully a Pod it's terminationGracePeriodSeconds over 120.

I'd like to configure this settings by config. (not cli option)

apiVersion: k0sctl.k0sproject.io/v1beta1
kind: cluster
spec:
  upgrade:
    drainGracePeriod: -1
    drainTimeout: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions