mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-22 12:55:19 +00:00
Update _index.md
This commit is contained in:
@@ -7,7 +7,7 @@ aliases:
|
||||
|
||||
_Available as of v2.2.0_
|
||||
|
||||
Force upgrade will force Rancher catalog apps to delete and recreate resources if needed during the upgrade.
|
||||
In Kubernetes, some fields are designed to be immutable or cannot be updated directly. Force upgrade will force Rancher catalog apps to delete and recreate resources if needed during the upgrade.
|
||||
|
||||
|
||||
### How to Force-upgrade Catalog Apps
|
||||
@@ -15,17 +15,3 @@ Force upgrade will force Rancher catalog apps to delete and recreate resources i
|
||||
For both upgrade and rollback, you can select the `Delete and recreate resources if needed during the upgrade` checkbox at the bottom of the catalog app details page to force-upgrade the app.
|
||||
|
||||

|
||||
|
||||
|
||||
### When to Use The Force-upgrade and Cautions
|
||||
|
||||
In Kubernetes, some fields are designed to be immutable or cannot be updated directly, e.g. changing Service type from NodePort to ClusterIP will result in:
|
||||
```
|
||||
Error: UPGRADE FAILED: Service "docker-registry" is invalid: spec.ports[0].nodePort: Forbidden: may not be used when `type` is 'ClusterIP'
|
||||
```
|
||||
and `force-upgrade` will be recreating resources for immutable fields when force is applied.
|
||||
|
||||
>**Cautions:**
|
||||
>
|
||||
>- Don't force-upgrade resources that contain persistent data, e.g. Statefulset or Deployment with Bounded PVC.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user