Skip to content

Commit 8b13310

Browse files
Update reduced-downtime-deployment.md
1 parent 064096b commit 8b13310

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

content/en/docs/deployment/private-cloud/reduced-downtime-deployment.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -151,32 +151,28 @@ You can specify the following options:
151151
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).
152152
{{% /alert %}}
153153

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}
155155

156156
By default, Mendix Operator 2.25.0 and higher versions will try to prevent downtime whenever possible, including apps with single replicas.
157157

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.
160159

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).
163161

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.
165163

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:
167165

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%**
176172

177173
{{< figure src="/attachments/deployment/private-cloud/allow-single-replica-downtime.png" alt="Allowing downtime in single-replica apps" class="no-border" >}}
178174

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:
180176

181177
```yaml
182178
apiVersion: privatecloud.mendix.com/v1alpha1

0 commit comments

Comments
 (0)