Skip to content

Commit e7c5232

Browse files
Merge pull request #63029 from michaelryanpeter/ocpbugs-17167-clarify-upgradeable-operator-condition
OCPBUGS#17167: Clarify the `Upgradeable` Operator condition
2 parents 440713e + 2776b0c commit e7c5232

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

modules/olm-supported-operatorconditions.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ The `Upgradeable` Operator condition prevents an existing cluster service versio
1515
* An Operator is about to start a critical process and should not be upgraded until the process is completed.
1616
* An Operator is performing a migration of custom resources (CRs) that must be completed before the Operator is ready to be upgraded.
1717

18+
[IMPORTANT]
19+
====
20+
Setting the `Upgradeable` Operator condition to the `False` value does not avoid pod disruption. If you must ensure your pods are not disrupted, see "Using pod disruption budgets to specify the number of pods that must be up" and "Graceful termination" in the "Additional resources" section.
21+
====
22+
1823
.Example `Upgradeable` Operator condition
1924
[source,yaml]
2025
----
@@ -32,4 +37,4 @@ spec:
3237
lastTransitionTime: "2020-08-24T23:15:55Z"
3338
----
3439
<1> Name of the condition.
35-
<2> A `False` value indicates the Operator is not ready to be upgraded. OLM prevents a CSV that replaces the existing CSV of the Operator from leaving the `Pending` phase.
40+
<2> A `False` value indicates the Operator is not ready to be upgraded. OLM prevents a CSV that replaces the existing CSV of the Operator from leaving the `Pending` phase. A `False` value does not block cluster upgrades.

operators/understanding/olm/olm-operatorconditions.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ include::modules/olm-supported-operatorconditions.adoc[leveloffset=+1]
1717

1818
* xref:../../../operators/admin/olm-managing-operatorconditions.adoc#olm-operatorconditions[Managing Operator conditions]
1919
* xref:../../../operators/operator_sdk/osdk-generating-csvs.adoc#osdk-operatorconditions_osdk-generating-csvs[Enabling Operator conditions]
20+
* xref:../../../nodes/pods/nodes-pods-configuring.adoc#nodes-pods-configuring-pod-distruption-about_nodes-pods-configuring[Using pod disruption budgets to specify the number of pods that must be up]
21+
* xref:../../../applications/deployments/route-based-deployment-strategies.adoc#deployments-graceful-termination_route-based-deployment-strategies[Graceful termination]

0 commit comments

Comments
 (0)