Skip to content

Commit 40234b5

Browse files
authored
chore(matrix): update the upgrade matrix to include v3.3.0 (#151)
Signed-off-by: Niladri Halder <[email protected]> Signed-off-by: Niladri Halder <[email protected]>
1 parent 6d3b842 commit 40234b5

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@
1414

1515
# Dependency directories (remove the comment below to include it)
1616
# vendor/
17+
18+
# IDE files
19+
.idea/

docs/upgrade.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This document describes the steps for upgrading the following OpenEBS reources:
1010

1111
## CSPC pools
1212

13-
These instructions will guide you through the process of upgrading cStor CSPC pools from `1.10.0` or later to a newer release up to `3.3.0`.
13+
These instructions will guide you through the process of upgrading cStor CSPC pools from `1.10.0` or later to a newer release up to `3.4.0`.
1414

1515
### Prerequisites
1616

@@ -81,7 +81,7 @@ spec:
8181
- "--from-version=1.10.0"
8282
8383
# --to-version is the version desired upgrade version
84-
- "--to-version=3.3.0"
84+
- "--to-version=3.4.0"
8585
# if required the image prefix of the pool deployments can be
8686
# changed using the flag below, defaults to whatever was present on old
8787
# deployments.
@@ -131,7 +131,7 @@ cstor-cspc-upgrade-2x4bv 1/1 Running 0 34s
131131

132132
```sh
133133
$ kubectl -n openebs logs -f cstor-cspc-upgrade-2x4bv
134-
I0714 12:37:09.747331 1 cstor_cspc.go:65] Upgrading cspc-stripe to 3.3.0
134+
I0714 12:37:09.747331 1 cstor_cspc.go:65] Upgrading cspc-stripe to 3.4.0
135135
I0714 12:37:10.062861 1 deployment.go:77] patching deployment cspc-stripe-k7cc
136136
I0714 12:40:11.493424 1 deployment.go:114] deployment cspc-stripe-k7cc patched successfully
137137
I0714 12:40:11.493476 1 cspi.go:73] patching cspi cspc-stripe-k7cc
@@ -140,12 +140,12 @@ I0714 12:40:11.527764 1 cstor_cspi.go:285] Verifying the reconciliation of
140140
I0714 12:40:21.632513 1 cspc.go:75] patching cspc cspc-stripe
141141
I0714 12:40:21.682353 1 cspc.go:95] cspc cspc-stripe patched
142142
I0714 12:40:21.693266 1 cstor_cspc.go:190] Verifying the reconciliation of version for cspc-stripe
143-
I0714 12:40:31.701881 1 cstor_cspc.go:76] Successfully upgraded cspc-stripe to 3.3.0
143+
I0714 12:40:31.701881 1 cstor_cspc.go:76] Successfully upgraded cspc-stripe to 3.4.0
144144
```
145145

146146
## cStor CSI volumes
147147

148-
These instructions will guide you through the process of upgrading cStor CSI volumes from `1.10.0` or later to a newer release up to `3.3.0`.
148+
These instructions will guide you through the process of upgrading cStor CSI volumes from `1.10.0` or later to a newer release up to `3.4.0`.
149149

150150
### Prerequisites
151151

@@ -202,7 +202,7 @@ spec:
202202
- "--from-version=1.10.0"
203203
204204
# --to-version is the version desired upgrade version
205-
- "--to-version=3.3.0"
205+
- "--to-version=3.4.0"
206206
# if required the image prefix of the volume deployments can be
207207
# changed using the flag below, defaults to whatever was present on old
208208
# deployments.
@@ -251,7 +251,7 @@ cstor-volume-upgrade-jd747 1/1 Running 0 34s
251251
```
252252
```sh
253253
$ kubectl -n openebs logs -f cstor-volume-upgrade-jd747
254-
I0714 14:00:53.309707 1 cstor_volume.go:67] Upgrading pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49 to 3.3.0
254+
I0714 14:00:53.309707 1 cstor_volume.go:67] Upgrading pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49 to 3.4.0
255255
I0714 14:00:53.818666 1 cvr.go:75] patching cvr pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49-cspc-stripe-k7cc
256256
I0714 14:00:53.863867 1 cvr.go:95] cvr pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49-cspc-stripe-k7cc patched
257257
I0714 14:00:53.923339 1 cstor_cvr.go:138] Verifying the reconciliation of version for pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49-cspc-stripe-k7cc
@@ -266,12 +266,12 @@ I0714 14:03:05.890751 1 cstor_volume.go:401] Verifying the reconciliation
266266
I0714 14:03:15.897696 1 cvc.go:75] patching cvc pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49
267267
I0714 14:03:15.929871 1 cvc.go:95] cvc pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49 patched
268268
I0714 14:03:16.030782 1 cstor_volume.go:423] Verifying the reconciliation of version for pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49
269-
I0714 14:03:26.046950 1 cstor_volume.go:78] Successfully upgraded pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49 to 3.3.0
269+
I0714 14:03:26.046950 1 cstor_volume.go:78] Successfully upgraded pvc-5fdce1bf-2cfc-4692-8353-8bc66deace49 to 3.4.0
270270
```
271271

272272
## jiva CSI volumes
273273

274-
These instructions will guide you through the process of upgrading jiva CSI volumes from `2.7.0` or later to a newer release up to `3.3.0`.
274+
These instructions will guide you through the process of upgrading jiva CSI volumes from `2.7.0` or later to a newer release up to `3.4.0`.
275275

276276
### Prerequisites
277277

@@ -320,7 +320,7 @@ spec:
320320
- "--from-version=2.7.0"
321321
322322
# --to-version is the version desired upgrade version
323-
- "--to-version=3.3.0"
323+
- "--to-version=3.4.0"
324324
# if required the image prefix of the volume deployments can be
325325
# changed using the flag below, defaults to whatever was present on old
326326
# deployments.
@@ -369,7 +369,7 @@ jiva-volume-upgrade-jd747 1/1 Running 0 34s
369369
```
370370
```sh
371371
$ kubectl -n openebs logs -f jiva-volume-upgrade-jd747
372-
I0330 13:07:31.054955 1 jiva_volume.go:63] Upgrading JivaVolume pvc-9cebb2c3-b26e-4372-9e25-d1dc2d26c650 to 3.3.0
372+
I0330 13:07:31.054955 1 jiva_volume.go:63] Upgrading JivaVolume pvc-9cebb2c3-b26e-4372-9e25-d1dc2d26c650 to 3.4.0
373373
I0330 13:07:31.502460 1 statefulset.go:77] patching statefulset pvc-9cebb2c3-b26e-4372-9e25-d1dc2d26c650-jiva-rep
374374
I0330 13:07:31.562237 1 statefulset.go:109] rollout status: waiting for statefulset rolling update to complete 0 pods at revision pvc-9cebb2c3-b26e-4372-9e25-d1dc2d26c650-jiva-rep-55b8789655...
375375
I0330 13:07:36.565525 1 statefulset.go:109] rollout status: Waiting for 1 pods to be ready...
@@ -385,5 +385,5 @@ I0330 13:07:53.787189 1 service.go:99] Service pvc-9cebb2c3-b26e-4372-9e25
385385
I0330 13:07:53.787233 1 jivavolume.go:76] patching jivaVolume pvc-9cebb2c3-b26e-4372-9e25-d1dc2d26c650
386386
I0330 13:07:53.799901 1 jivavolume.go:96] jivaVolume pvc-9cebb2c3-b26e-4372-9e25-d1dc2d26c650 patched
387387
I0330 13:07:53.806268 1 jiva_volume.go:383] Verifying the reconciliation of version for pvc-9cebb2c3-b26e-4372-9e25-d1dc2d26c650
388-
I0330 13:08:03.814190 1 jiva_volume.go:74] Successfully upgraded pvc-9cebb2c3-b26e-4372-9e25-d1dc2d26c650 to 3.3.0
388+
I0330 13:08:03.814190 1 jiva_volume.go:74] Successfully upgraded pvc-9cebb2c3-b26e-4372-9e25-d1dc2d26c650 to 3.4.0
389389
```

pkg/version/util.go

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var (
2828
"2.7.0": true, "2.8.0": true, "2.9.0": true, "2.10.0": true,
2929
"2.10.1": true, "2.11.0": true, "2.12.0": true, "2.12.1": true,
3030
"2.12.2": true, "3.0.0": true, "3.1.0": true, "3.2.0": true,
31+
"3.3.0": true,
3132
}
3233
validDesiredVersion = strings.Split(GetVersion(), "-")[0]
3334
)

0 commit comments

Comments
 (0)