Skip to content

Commit c45f0fe

Browse files
Clarify UnhealthyMachineConditionV1Beta1Reason precedence over node reasons
Signed-off-by: Furkat Gofurov <[email protected]>
1 parent fb4ab8a commit c45f0fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/core/v1beta2/v1beta1_condition_consts.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ const (
159159
UnhealthyNodeConditionV1Beta1Reason = "UnhealthyNode"
160160

161161
// UnhealthyMachineConditionV1Beta1Reason is the reason used when a machine has one of the MachineHealthCheck's unhealthy conditions.
162+
// When both machine and node issues are detected, this reason takes precedence over node-related reasons
163+
// (NodeNotFoundV1Beta1Reason, NodeStartupTimeoutV1Beta1Reason, UnhealthyNodeConditionV1Beta1Reason).
162164
UnhealthyMachineConditionV1Beta1Reason = "UnhealthyMachine"
163165
)
164166

0 commit comments

Comments
 (0)