Skip to content

Commit f96935b

Browse files
tsuzuJoelSpeed
andauthored
Apply suggestions from code review
Co-authored-by: Joel Speed <[email protected]>
1 parent 4e1ee67 commit f96935b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

api/v1beta1/machinehealthcheck_types.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,10 @@ type UnhealthyCondition struct {
130130
// +kubebuilder:validation:MinLength=1
131131
Status corev1.ConditionStatus `json:"status"`
132132

133-
// timeout is the duration after which a node is considered unhealthy
134-
// if the condition has been in the given status.
133+
// timeout is the duration that a node must be in a given status for,
134+
// after which the node is considered unhealthy.
135+
// For example, with a value of "1h", the node must match the status
136+
// for at least 1 hour before being considered unhealthy.
135137
Timeout metav1.Duration `json:"timeout"`
136138
}
137139

0 commit comments

Comments
 (0)