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
Execute the following command to capture the helm values configuration of your helm release.
55
-
56
-
```
57
-
helm get values openebs -n openebs -o yaml > old-values.yaml
58
-
```
59
-
60
-
:::note
61
-
If you are using a custom helm chart to use OpenEBS, compare your set of helm values against the new helm values and the values of the dependency helm charts. Refer [values.yaml](https://github.com/openebs/openebs/blob/HEAD/charts/values.yaml) for more details.
62
-
63
-
If you have used helm v3.13 or above to install their chart, and not used helm's `--set` and/or `-f` options to configure their chart values, using the `-a` option with your `helm get values` command will let you capture your configuration values.
64
-
65
-
Feel free to reach out via our [communication channels](../community.md).
66
-
:::
67
-
68
-
## Local Storage Upgrade
69
-
70
-
The upgrade process for Local PV Hostpath, Local PV LVM, and Local PV ZFS are largely identical, with a few changes in helm values depending on the Local PV Storage variant we are upgrading from.
71
-
72
42
:::note
73
43
Downgrades are not supported.
74
44
:::
75
45
76
-
### From 3.x to 4.2
77
-
78
-
This section describes the Local Storage upgrade from OpenEBS chart 3.x to OpenEBS 4.2.
If upgrading from Local PV LVM or Local PV ZFS storage solution, additional helm values must be specified with the above command to prevent upgrade process conflicts. The installed CRDs in 3.x would conflict with the CRDs in 4.2 as the chart structure has changed. Hence, they must be disabled.
2. Verify that the CRDs, Volumes, Snapshots, and StoragePools are not affected by the upgrade process.
117
-
118
-
## Replicated Storage Upgrade
58
+
2. Download the `kubectl openebs` binary from the [OpenEBS Release repository](https://github.com/openebs/openebs/releases) on GitHub.
119
59
120
-
:::note
121
-
Downgrades are not supported.
122
-
:::
60
+
3. Execute `kubectl openebs upgrade -n <namespace>` to upgrade OpenEBS.
123
61
124
-
### From 3.x to 4.2
62
+
4. Monitor the upgrade status using `kubectl openebs get upgrade-status -n <namespace>`.
125
63
126
-
This section describes the Replicated Storage upgrade from OpenEBS Umbrella chart 3.x to OpenEBS 4.2.
127
-
128
-
1. Start the helm upgrade process with the new chart, i.e. 4.2 by using the below command:
64
+
5. Verify that the CRDs, Volumes, Snapshots, and StoragePools are not affected by the upgrade process.
129
65
130
66
:::caution
131
-
Upgrades from 3.x to 4.x require the option `--set mayastor.agents.core.rebuild.partial.enabled=false` in the **helm upgrade** command to ensure data consistency during the upgrade. Upgrades from 4.x onwards to newer versions do not require it.
132
-
:::
133
-
134
-
```
135
-
# Add the option --set mayastor.agents.core.rebuild.partial.enabled=false if
The `--reuse-values` option should not be used with `helm upgrade`, as it may cause the pre-upgrade images to be used instead of the new images. Instead the `--reset-then-reuse-values` option is recommended.
143
-
:::
144
-
145
-
2. Verify that the CRDs, Volumes, Snapshots, and StoragePools are not affected by the upgrade process.
146
-
147
-
3. Start the Replicated Storage upgrade process by using the kubectl mayastor plugin v2.7.1.
5. If you have disabled the partial rebuild during the upgrade, re-enable it by adding the value `--set mayastor.agents.core.rebuild.partial.enabled=true` in the upgrade command.
81
+
- Re-enable the partial-rebuild feature after upgrade completes.
0 commit comments