k0sctl icon indicating copy to clipboard operation
k0sctl copied to clipboard

drain option configuable

Open walf443 opened this issue 9 months ago • 0 comments

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

walf443 avatar Jun 02 '24 01:06 walf443