You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this one can specify the number of worker peers needed to
be able to contact before determining a node is unhealthy.
It covers the case in which there are 3 control plane nodes and a single
worker node, and yet you still want to be able to perform remediations
on that worker node
It has a default of 1, which maintains existing behaviors without
explicitly altering the value.
Copy file name to clipboardExpand all lines: api/v1alpha1/selfnoderemediationconfig_types.go
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ const (
28
28
ConfigCRName="self-node-remediation-config"
29
29
defaultWatchdogPath="/dev/watchdog"
30
30
defaultIsSoftwareRebootEnabled=true
31
+
defaultMinPeersForRemediation=1
31
32
)
32
33
33
34
// SelfNodeRemediationConfigSpec defines the desired state of SelfNodeRemediationConfig
@@ -127,6 +128,15 @@ type SelfNodeRemediationConfigSpec struct {
127
128
// CustomDsTolerations allows to add custom tolerations snr agents that are running on the ds in order to support remediation for different types of nodes.
0 commit comments