Replies: 1 comment
-
The current supported way for pre-drain and pre-terminate hooks is to use these annotations: cluster-api/api/v1beta1/machine_types.go Lines 54 to 64 in e0c9cdb |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all,
Just found there isn't public doc for this feature
Machine Deletion Phase Hooks
, only a proposal exists https://github.com/kubernetes-sigs/cluster-api/blob/b7b53ca55c82d8ec39c552a24d6c308076c5bd24/docs/proposals/20200602-machine-deletion-phase-hooks.mdNot sure if this feature is still recommanded to use nowadays?
background
we are writing k3s controlplane provider, we need remove etcd member AFTER node drain operation. So want to utilize
Machine Deletion Phase Hooks
to remove etcd.Beta Was this translation helpful? Give feedback.
All reactions