Skip to content

Commit

Permalink
Create a new ClusterStatusCondition Degraded
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eparis committed Apr 16, 2019
1 parent 0f522af commit 8e476cb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config/v1/types_cluster_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,14 @@ const (
// operator (eg: openshift-apiserver for the openshift-apiserver-operator).
OperatorProgressing ClusterStatusConditionType = "Progressing"

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

// Degraded indicates that the operand is not functioning completely. An example of a degraded state
// would be if there should be 5 copies of the operand running but only 4 are running. It may still be available,
// but it is degraded
OperatorDegraded ClusterStatusConditionType = "Degraded"

// Upgradeable indicates whether the operator is in a state that is safe to upgrade. When status is `False`
// administrators should not upgrade their cluster and the message field should contain a human readable description
// of what the administrator should do to allow the operator to successfully update. A missing condition, True,
Expand Down

0 comments on commit 8e476cb

Please sign in to comment.