rancher / system-upgrade-controller

In your Kubernetes, upgrading your nodes
Apache License 2.0
723 stars 86 forks source link

Add support for PodSelector in DrainSpec #231

Closed brandond closed 1 year ago

brandond commented 1 year ago

The selected labels are added to the default LabelSelector that excludes the SUC pods from being drained.

Also bumps various go modules and the kubectl image up to latest for Kubernetes 1.21

rancher-max commented 1 year ago

https://github.com/k3s-io/k3s/issues/7099 https://github.com/rancher/rke2/issues/4021