Skip to content

Commit 8e476cb

Browse files
committed
Create a new ClusterStatusCondition Degraded
This is used to indicate what we used to call 'Failing'. It was very odd to see that your service was available, but also failing. But it would be normal for your service to be available and degraded.
1 parent 0f522af commit 8e476cb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

config/v1/types_cluster_operator.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,14 @@ const (
127127
// operator (eg: openshift-apiserver for the openshift-apiserver-operator).
128128
OperatorProgressing ClusterStatusConditionType = "Progressing"
129129

130-
// Failing indicates that the operator has encountered an error that is preventing it from working properly.
131-
// The binary maintained by the operator (eg: openshift-apiserver for the openshift-apiserver-operator) may still be
132-
// available, but the user intent cannot be fulfilled.
130+
// OperatorFailing is DEPRECATED
133131
OperatorFailing ClusterStatusConditionType = "Failing"
134132

133+
// Degraded indicates that the operand is not functioning completely. An example of a degraded state
134+
// would be if there should be 5 copies of the operand running but only 4 are running. It may still be available,
135+
// but it is degraded
136+
OperatorDegraded ClusterStatusConditionType = "Degraded"
137+
135138
// Upgradeable indicates whether the operator is in a state that is safe to upgrade. When status is `False`
136139
// administrators should not upgrade their cluster and the message field should contain a human readable description
137140
// of what the administrator should do to allow the operator to successfully update. A missing condition, True,

0 commit comments

Comments
 (0)