-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When upgrading a k0s cluster, I want to add hooks at the start and end of node upgrades. These hooks will allow additional processing before draining each node and after uncordoning it.
Use cases include sending signals to DaemonSets on the node before draining to prompt graceful shutdowns or applying taints to evict pods.
I would like to add the following configuration:
apiVersion: k0sctl.k0sproject.io/v1beta1
kind: Cluster
spec:
hosts:
- hooks:
upgrade:
before:
- echo "draining $HOST" >> k0sctl-apply.log
after:
- echo "uncoroned $HOST" >> k0sctl-apply.log
NeonSludge
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request