You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/deployment/private-cloud/reduced-downtime-deployment.md
+12-16Lines changed: 12 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,32 +151,28 @@ You can specify the following options:
151
151
Kubernetes doesn't allow specifying values for both `maxUnavailable` and `minAvailable`, and specifying values for both of them will [result in an error](https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget).
152
152
{{% /alert %}}
153
153
154
-
## Allowing downtime with Operator 2.25.0 and higher versions {#allow-downtime-2.25}
154
+
## Allowing Downtime with Operator 2.25.0 and Newer {#allow-downtime-2.25}
155
155
156
156
By default, Mendix Operator 2.25.0 and higher versions will try to prevent downtime whenever possible, including apps with single replicas.
157
157
158
-
In some situations (for example, Kubernetes cluster autoscaling or node upgrades), single-replica apps would be disrupted.
159
-
The default Pod Disruption Budget prevents this from happening until a developer manually restarts an app (or scales it to two or more replicas).
158
+
In some situations (for example, Kubernetes cluster autoscaling or node upgrades), single-replica apps would be disrupted. The default Pod Disruption Budget prevents this from happening until a developer manually restarts an app or scales it to two or more replicas.
160
159
161
-
To prevent downtime when updating an app with one replica, the Operator needs to _temporarily_ run two or more replicas of an app.
162
-
If the cluster doesn't have enough capacity to start an additional replica, this would block the app update (as this is the only way to process updates without downtime).
160
+
To prevent downtime when updating an app with one replica, the Operator needs to temporarily run two or more replicas of an app. If the cluster does not have enough capacity to start an additional replica, this would block the app update (as this is the only way to process updates without downtime).
163
161
164
-
If your app or cluster changes are blocked by this policy, you need to scale the app to 2 (or more) replicas, or manually allow the changes to be processed with downtime.
162
+
If your app or cluster changes are blocked by this policy, you must scale the app to 2 (or more) replicas, or manually allow the changes to be processed with downtime. The easiest option to do this is to manually stop the app, and then start it again.
165
163
166
-
The easiest option to do this is to manually stop the app, and then start it again.
164
+
Alternatively, you can set custom **Reduced Downtime Options** in the Cloud Portal:
167
165
168
-
Alternatively, you can set custom Reduced Downtime Options in the Cloud Portal:
169
-
170
-
* In the **Deployment Strategy Options**, set
171
-
* **Max Surge** to **0%**
172
-
* **Max Unavailable** to **100%**
173
-
* In the **Pod disruption budget options**, set
174
-
* **Min Available** to **0%**
175
-
* **Max Unavailable** to **100%**
166
+
* In the **Deployment Strategy Options**, set the following values:
167
+
* **Max Surge** - set to **0%**
168
+
* **Max Unavailable** - set to **100%**
169
+
* In the **Pod disruption budget options**, set the following values:
170
+
* **Min Available** - set to **0%**
171
+
* **Max Unavailable** - set to **100%**
176
172
177
173
{{< figure src="/attachments/deployment/private-cloud/allow-single-replica-downtime.png" alt="Allowing downtime in single-replica apps" class="no-border" >}}
178
174
179
-
For Standalone environments, this can be specified in the MendixApp CR YAML:
175
+
For Standalone environments, specify the following in the MendixApp CR YAML:
0 commit comments