Skip to content

Commit

Permalink
Support adding "node.kubernetes.io/out-of-service" taint
Browse files Browse the repository at this point in the history
K8s v1.24 has a new well-known taint "node.kubernetes.io/out-of-service"
that enables automatic deletion of pv-attached pods on failed nodes.
This patch makes fencing-controller adding it to a fenced node just after
the fencing job was successfully finished.

See the pages below for more detail:
kubernetes/enhancements#2268
kubernetes/kubernetes#108486
  • Loading branch information
yosshy committed Oct 14, 2022
1 parent b931378 commit eb03b37
Show file tree
Hide file tree
Showing 3 changed files with 258 additions and 2 deletions.
1 change: 1 addition & 0 deletions go.mod
Expand Up @@ -7,6 +7,7 @@ require (
k8s.io/apimachinery v0.25.2
k8s.io/client-go v0.25.2
k8s.io/klog v1.0.0
k8s.io/kubernetes v1.25.3
sigs.k8s.io/controller-runtime v0.13.0
)

Expand Down

0 comments on commit eb03b37

Please sign in to comment.