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: docs/main/user-guides/replicated-storage-user-guide/replicated-pv-mayastor/additional-information/upgrade-re.md
+52-35Lines changed: 52 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,76 +10,91 @@ description: Upgrade to the latest OpenEBS 2.6.0 version is supported only from
10
10
11
11
## Upgrading Replicated PV Mayastor
12
12
13
-
Replicated PV Mayastor supports seamless upgrades starting with target version 2.1.0 and later, and source versions 2.0.0 and later. To upgrade from a previous version (1.0.5 or prior) to 2.1.0 or later, visit [Legacy Upgrade Support](legacy-upgrade.md).
13
+
Replicated PV Mayastor supports seamless upgrades starting with target version 2.1.0 and later, and source versions 2.0.0 and later. To upgrade from a previous version (1.0.5 or prior) to 2.1.0 or later, visit [Legacy Upgrade Support](legacy-upgrade.md).
14
14
15
15
### Supported Upgrade Paths
16
16
17
-
- From 2.0.x to 2.6.1
17
+
- From 2.0.x and later within the 2.x series (2.0.x, 2.1.x, 2.2.x, etc.)
18
+
- To 2.1.0 and later within the 2.x series (2.1.x, 2.2.x, 2.3.x, etc.)
18
19
19
20
:::info
20
-
- The upgrade operation utilises the [Kubectl Plugin](../advanced-operations/kubectl-plugin.md).
21
-
- The upgrade process is generally non-disruptive for volumes with a replication factor greater than one and all replicas being healthy, prior to starting the upgrade.
21
+
22
+
- Only upgrades are supported - downgrades are not possible.
23
+
- The upgrade operation utilises the [Kubectl mayastor Plugin](../advanced-operations/kubectl-plugin.md). Ensure you have the appropriate Kubectl Plugin installed, Use the kubectl plugin version that matches your target Mayastor version.
24
+
- If Mayastor was installed using the `mayastor/mayastor` Helm chart, use the `kubectl mayastor` plugin for upgrades.
25
+
- If Mayastor was installed using the `openebs/openebs` Helm chart, refer to the [OpenEBS upgrade documentation](https://openebs.io/docs/user-guides/upgrade).
26
+
- Volumes with single replica will be unavailable temporarily during upgrade.
27
+
- The upgrade process is generally non-disruptive for volumes with a replication factor greater than one however verify that all replicas are healthy prior to upgrade
28
+
22
29
:::
23
30
24
31
To upgrade Replicated PV Mayastor deployment on the Kubernetes cluster, execute:
25
32
26
33
**Command**
27
34
28
-
```
29
-
kubectl mayastor upgrade
35
+
```bash
36
+
kubectl mayastor upgrade -n <mayastor-namespace>
30
37
```
31
38
32
39
To view all the available options and sub-commands that can be used with the upgrade command, execute:
33
40
34
41
**Command**
35
42
36
-
```
43
+
```bash
37
44
kubectl mayastor upgrade -h
38
45
```
39
46
40
47
**Expected Output**
41
48
42
-
```
49
+
```text
43
50
`Upgrade` the deployment
44
51
45
52
Usage: kubectl-mayastor upgrade [OPTIONS]
46
53
47
54
Options:
48
-
-d, --dry-run
49
-
Display all the validations output but will not execute upgrade
50
-
-r, --rest <REST>
51
-
The rest endpoint to connect to
52
-
-D, --skip-data-plane-restart
53
-
If set then upgrade will skip the io-engine pods restart
54
-
-k, --kube-config-path <KUBE_CONFIG_PATH>
55
-
Path to kubeconfig file
56
-
-S, --skip-single-replica-volume-validation
57
-
If set then it will continue with upgrade without validating singla replica volume
58
-
-R, --skip-replica-rebuild
59
-
If set then upgrade will skip the repilca rebuild in progress validation
60
-
-C, --skip-cordoned-node-validation
61
-
If set then upgrade will skip the cordoned node validation
62
-
-o, --output <OUTPUT>
63
-
The Output, viz yaml, json [default: none]
64
-
-j, --jaeger <JAEGER>
65
-
Trace rest requests to the Jaeger endpoint agent
66
-
-n, --namespace <NAMESPACE>
67
-
Kubernetes namespace of mayastor service, defaults to mayastor [default: mayastor]
68
-
-h, --help
69
-
Print help
55
+
--registry <REGISTRY>
56
+
Specify the container registry for the upgrade-job image
57
+
-d, --dry-run
58
+
Display all the validations output but will not execute upgrade
59
+
--skip-data-plane-restart
60
+
If set then upgrade will skip the io-engine pods restart
61
+
--skip-single-replica-volume-validation
62
+
If set then it will continue with upgrade without validating singla replica volume
63
+
--skip-replica-rebuild
64
+
If set then upgrade will skip the replica rebuild in progress validation
65
+
--skip-cordoned-node-validation
66
+
If set then upgrade will skip the cordoned node validation
67
+
--set <SET>
68
+
The set values on the command line. (can specify multiple or separate values with commas: key1=val1,key2=val2)
69
+
--set-file <SET_FILE>
70
+
The set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
71
+
-n, --namespace <NAMESPACE>
72
+
Kubernetes namespace of mayastor service [default: mayastor]
73
+
--reset-then-reuse-values
74
+
Use helm's --reset-then-reuse-values option
75
+
-r, --rest <REST>
76
+
The rest endpoint to connect to
77
+
-o, --output <OUTPUT>
78
+
The Output, viz yaml, json [default: none]
79
+
-j, --jaeger <JAEGER>
80
+
Trace rest requests to the Jaeger endpoint agent
81
+
-k, --kube-config-path <KUBE_CONFIG_PATH>
82
+
Path to kubeconfig file
83
+
-h, --help
84
+
Print help
70
85
```
71
86
72
87
To view the status of upgrade, execute:
73
88
74
89
**Command**
75
90
76
-
```
77
-
kubectl mayastor get upgrade-status
91
+
```bash
92
+
kubectl mayastor get upgrade-status -n <mayastor-namespace>
78
93
```
79
94
80
95
**Expected Output**
81
96
82
-
```
97
+
```text
83
98
Upgrade From: 2.0.0
84
99
Upgrade To: 2.6.1
85
100
Upgrade Status: Successfully upgraded Mayastor
@@ -89,12 +104,14 @@ To view the logs of upgrade job, execute:
1. The time taken to upgrade is directly proportional to the number of IO engine nodes and storage volumes.
98
114
2. To upgrade to a particular Replicated PV Mayastor version, ensure you are using the same version of kubectl plugin.
99
115
3. The above process of upgrade creates one Job in the namespace where Replicated PV Mayastor is installed, one ClusterRole, one ClusterRoleBinding and one ServiceAccount.
Copy file name to clipboardExpand all lines: docs/versioned_docs/version-4.0.x/user-guides/replicated-storage-user-guide/replicated-pv-mayastor/additional-information/upgrade-re.md
+22-13Lines changed: 22 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,36 +10,43 @@ description: Upgrade to the latest OpenEBS 2.6.0 version is supported only from
10
10
11
11
## Upgrading Replicated PV Mayastor
12
12
13
-
Replicated PV Mayastor supports seamless upgrades starting with target version 2.1.0 and later, and source versions 2.0.0 and later. To upgrade from a previous version (1.0.5 or prior) to 2.1.0 or later, visit [Legacy Upgrade Support](legacy-upgrade.md).
13
+
Replicated PV Mayastor supports seamless upgrades starting with target version 2.1.0 and later, and source versions 2.0.0 and later. To upgrade from a previous version (1.0.5 or prior) to 2.1.0 or later, visit [Legacy Upgrade Support](legacy-upgrade.md).
14
14
15
15
### Supported Upgrade Paths
16
16
17
-
- From 2.0.x to 2.6.1
17
+
- From 2.0.x and later within the 2.x series (2.0.x, 2.1.x, 2.2.x, etc.)
18
+
- To 2.1.0 and later within the 2.x series (2.1.x, 2.2.x, 2.3.x, etc.)
18
19
19
20
:::info
20
-
- The upgrade operation utilises the [Kubectl Plugin](../advanced-operations/kubectl-plugin.md).
21
-
- The upgrade process is generally non-disruptive for volumes with a replication factor greater than one and all replicas being healthy, prior to starting the upgrade.
21
+
22
+
- Only upgrades are supported - downgrades are not possible.
23
+
- The upgrade operation utilises the [Kubectl mayastor Plugin](../advanced-operations/kubectl-plugin.md). Ensure you have the appropriate Kubectl Plugin installed, Use the kubectl plugin version that matches your target Mayastor version.
24
+
- If Mayastor was installed using the `mayastor/mayastor` Helm chart, use the `kubectl mayastor` plugin for upgrades.
25
+
- If Mayastor was installed using the `openebs/openebs` Helm chart, refer to the [OpenEBS upgrade documentation](https://openebs.io/docs/4.0.x/user-guides/upgrade).
26
+
- Volumes with single replica will be unavailable temporarily during upgrade.
27
+
- The upgrade process is generally non-disruptive for volumes with a replication factor greater than one however verify that all replicas are healthy prior to upgrade
28
+
22
29
:::
23
30
24
31
To upgrade Replicated PV Mayastor deployment on the Kubernetes cluster, execute:
25
32
26
33
**Command**
27
34
28
-
```
29
-
kubectl mayastor upgrade
35
+
```bash
36
+
kubectl mayastor upgrade -n <mayastor-namespace>
30
37
```
31
38
32
39
To view all the available options and sub-commands that can be used with the upgrade command, execute:
33
40
34
41
**Command**
35
42
36
-
```
43
+
```bash
37
44
kubectl mayastor upgrade -h
38
45
```
39
46
40
47
**Expected Output**
41
48
42
-
```
49
+
```text
43
50
`Upgrade` the deployment
44
51
45
52
Usage: kubectl-mayastor upgrade [OPTIONS]
@@ -73,13 +80,13 @@ To view the status of upgrade, execute:
73
80
74
81
**Command**
75
82
76
-
```
77
-
kubectl mayastor get upgrade-status
83
+
```bash
84
+
kubectl mayastor get upgrade-status -n <mayastor-namespace>
78
85
```
79
86
80
87
**Expected Output**
81
88
82
-
```
89
+
```text
83
90
Upgrade From: 2.0.0
84
91
Upgrade To: 2.6.1
85
92
Upgrade Status: Successfully upgraded Mayastor
@@ -89,12 +96,14 @@ To view the logs of upgrade job, execute:
1. The time taken to upgrade is directly proportional to the number of IO engine nodes and storage volumes.
98
106
2. To upgrade to a particular Replicated PV Mayastor version, ensure you are using the same version of kubectl plugin.
99
107
3. The above process of upgrade creates one Job in the namespace where Replicated PV Mayastor is installed, one ClusterRole, one ClusterRoleBinding and one ServiceAccount.
Copy file name to clipboardExpand all lines: docs/versioned_docs/version-4.1.x/user-guides/replicated-storage-user-guide/replicated-pv-mayastor/additional-information/upgrade-re.md
+22-13Lines changed: 22 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,36 +10,43 @@ description: Upgrade to the latest OpenEBS 2.6.0 version is supported only from
10
10
11
11
## Upgrading Replicated PV Mayastor
12
12
13
-
Replicated PV Mayastor supports seamless upgrades starting with target version 2.1.0 and later, and source versions 2.0.0 and later. To upgrade from a previous version (1.0.5 or prior) to 2.1.0 or later, visit [Legacy Upgrade Support](legacy-upgrade.md).
13
+
Replicated PV Mayastor supports seamless upgrades starting with target version 2.1.0 and later, and source versions 2.0.0 and later. To upgrade from a previous version (1.0.5 or prior) to 2.1.0 or later, visit [Legacy Upgrade Support](legacy-upgrade.md).
14
14
15
15
### Supported Upgrade Paths
16
16
17
-
- From 2.0.x to 2.6.1
17
+
- From 2.0.x and later within the 2.x series (2.0.x, 2.1.x, 2.3.x, etc.)
18
+
- To 2.1.0 and later within the 2.x series (2.1.x, 2.2.x, 2.3.x, etc.)
18
19
19
20
:::info
20
-
- The upgrade operation utilises the [Kubectl Plugin](../advanced-operations/kubectl-plugin.md).
21
-
- The upgrade process is generally non-disruptive for volumes with a replication factor greater than one and all replicas being healthy, prior to starting the upgrade.
21
+
22
+
- Only upgrades are supported - downgrades are not possible.
23
+
- The upgrade operation utilises the [Kubectl mayastor Plugin](../advanced-operations/kubectl-plugin.md). Ensure you have the appropriate Kubectl Plugin installed, Use the kubectl plugin version that matches your target Mayastor version.
24
+
- If Mayastor was installed using the `mayastor/mayastor` Helm chart, use the `kubectl mayastor` plugin for upgrades.
25
+
- If Mayastor was installed using the `openebs/openebs` Helm chart, refer to the [OpenEBS upgrade documentation](https://openebs.io/docs/4.1.x/user-guides/upgrade).
26
+
- Volumes with single replica will be unavailable temporarily during upgrade.
27
+
- The upgrade process is generally non-disruptive for volumes with a replication factor greater than one however verify that all replicas are healthy prior to upgrade
28
+
22
29
:::
23
30
24
31
To upgrade Replicated PV Mayastor deployment on the Kubernetes cluster, execute:
25
32
26
33
**Command**
27
34
28
-
```
29
-
kubectl mayastor upgrade
35
+
```bash
36
+
kubectl mayastor upgrade -n <mayastor-namespace>
30
37
```
31
38
32
39
To view all the available options and sub-commands that can be used with the upgrade command, execute:
33
40
34
41
**Command**
35
42
36
-
```
43
+
```bash
37
44
kubectl mayastor upgrade -h
38
45
```
39
46
40
47
**Expected Output**
41
48
42
-
```
49
+
```text
43
50
`Upgrade` the deployment
44
51
45
52
Usage: kubectl-mayastor upgrade [OPTIONS]
@@ -73,13 +80,13 @@ To view the status of upgrade, execute:
73
80
74
81
**Command**
75
82
76
-
```
77
-
kubectl mayastor get upgrade-status
83
+
```bash
84
+
kubectl mayastor get upgrade-status -n <mayastor-namespace>
78
85
```
79
86
80
87
**Expected Output**
81
88
82
-
```
89
+
```bash
83
90
Upgrade From: 2.0.0
84
91
Upgrade To: 2.6.1
85
92
Upgrade Status: Successfully upgraded Mayastor
@@ -89,12 +96,14 @@ To view the logs of upgrade job, execute:
1. The time taken to upgrade is directly proportional to the number of IO engine nodes and storage volumes.
98
106
2. To upgrade to a particular Replicated PV Mayastor version, ensure you are using the same version of kubectl plugin.
99
107
3. The above process of upgrade creates one Job in the namespace where Replicated PV Mayastor is installed, one ClusterRole, one ClusterRoleBinding and one ServiceAccount.
0 commit comments