@@ -28,11 +28,10 @@ Commands:
28
28
scale 'Scale' resources
29
29
cordon 'Cordon' resources
30
30
uncordon 'Uncordon' resources
31
- dump `Dump` resources
32
- install `Install` resources
33
- uninstall `Uninstall` resources
34
- upgrade `Upgrade` resources
35
- help Print this message or the help of the given subcommand(s)
31
+ dump 'Dump' resources
32
+ upgrade 'Upgrade' the deployment
33
+ delete 'Delete' the upgrade resources
34
+ help Print this message or the help of the given subcommand(s)
36
35
37
36
Options:
38
37
-r, --rest <REST>
@@ -46,7 +45,7 @@ Options:
46
45
-t, --timeout <TIMEOUT>
47
46
Timeout for the REST operations [default: 10s]
48
47
-n, --namespace <NAMESPACE>
49
- Kubernetes namespace of mayastor service, defaults to mayastor [default: mayastor]
48
+ Kubernetes namespace of mayastor service
50
49
-h, --help
51
50
Print help
52
51
-V, --version
@@ -278,7 +277,7 @@ Options:
278
277
-d, --output-directory-path < OUTPUT_DIRECTORY_PATH>
279
278
Output directory path to store archive file [default: ./]
280
279
-n, --namespace < NAMESPACE>
281
- Kubernetes namespace of mayastor service, defaults to mayastor [default: mayastor]
280
+ Kubernetes namespace of mayastor service[default: mayastor]
282
281
-o, --output < OUTPUT>
283
282
The Output, viz yaml, json [default: none]
284
283
-j, --jaeger < JAEGER>
@@ -347,57 +346,91 @@ Supportability - collects state & log information of services and dumps it to a
347
346
kubectl mayastor dump volume volume-1 -d /mayastor-dump -r http://127.0.0.1:30011 -l http://127.0.0.1:3100 -e http://127.0.0.1:2379 -n mayastor
348
347
` ` `
349
348
349
+ < /details>
350
350
< details>
351
351
< summary> Upgrade operations < /summary>
352
352
353
353
** Examples** :
354
354
355
- 1. To install upgrade resources need for executing upgrade operation
356
- ` ` ` sh
357
- # # Command
358
- kubectl mayastor install upgrade-operator -n < mayastor_namespace>
359
- ` ` `
360
-
361
- 2. To uninstall upgrade resources need for executing upgrade operation
362
- ` ` ` sh
363
- # # Command
364
- kubectl mayastor uninstall upgrade-operator -n < mayastor_namespace>
365
- ` ` `
366
-
367
- 1. To upgrade the installation
368
- ` ` ` sh
355
+ 1. Upgrade deployment
356
+ ` ` `
369
357
# # Command
370
358
kubectl mayastor upgrade
371
359
` Upgrade` the deployment
372
360
373
361
Usage: kubectl-mayastor upgrade [OPTIONS]
374
362
375
363
Options:
376
- -d, --dry-run
364
+ -d, --dry-run
377
365
Display all the validations output but will not execute upgrade
378
- -r, --rest < REST>
366
+ -r, --rest < REST>
379
367
The rest endpoint to connect to
380
- -k, --kube-config-path < KUBE_CONFIG_PATH>
381
- Path to kubeconfig file
382
- -s, --skip-data-plane-restart
368
+ -D, --skip-data-plane-restart
383
369
If set then upgrade will skip the io-engine pods restart
384
- --skip-single-replica-volume-validation
370
+ -k, --kube-config-path < KUBE_CONFIG_PATH>
371
+ Path to kubeconfig file
372
+ -S, --skip-single-replica-volume-validation
385
373
If set then it will continue with upgrade without validating singla replica volume
386
- --skip-replica-rebuild
374
+ -R, --skip-replica-rebuild
387
375
If set then upgrade will skip the repilca rebuild in progress validation
388
- -o, --output < OUTPUT>
376
+ -C, --skip-cordoned-node-validation
377
+ If set then upgrade will skip the cordoned node validation
378
+ -o, --output < OUTPUT>
389
379
The Output, viz yaml, json [default: none]
390
- -j, --jaeger < JAEGER>
380
+ -j, --jaeger < JAEGER>
391
381
Trace rest requests to the Jaeger endpoint agent
392
- -n, --namespace < NAMESPACE>
393
- Kubernetes namespace of mayastor service, defaults to mayastor [default: mayastor]
394
- -h, --help
382
+ -n, --namespace < NAMESPACE>
383
+ Kubernetes namespace of mayastor service [default: mayastor]
384
+ -h, --help
395
385
Print help
396
386
` ` `
397
387
398
- 4. To get the upgrade status
399
- ` ` ` sh
388
+ 2. Get the upgrade status
389
+ ` ` `
400
390
# # Command
401
391
kubectl mayastor get upgrade-status
392
+ ` Get` the upgrade status
393
+
394
+ Usage: kubectl-mayastor get upgrade-status [OPTIONS]
395
+
396
+ Options:
397
+ -r, --rest < REST>
398
+ The rest endpoint to connect to
399
+ -k, --kube-config-path < KUBE_CONFIG_PATH>
400
+ Path to kubeconfig file
401
+ -o, --output < OUTPUT>
402
+ The Output, viz yaml, json [default: none]
403
+ -j, --jaeger < JAEGER>
404
+ Trace rest requests to the Jaeger endpoint agent
405
+ -n, --namespace < NAMESPACE>
406
+ Kubernetes namespace of mayastor service [default: mayastor]
407
+ -h, --help
408
+ Print help
402
409
` ` `
410
+
411
+ 3. Delete upgrade resources
412
+ ` ` `
413
+ # # Command
414
+ kubectl mayastor delete upgrade
415
+ ` Delete` the upgrade resources
416
+
417
+ Usage: kubectl-mayastor delete upgrade [OPTIONS]
418
+
419
+ Options:
420
+ -f, --force
421
+ If true, immediately remove upgrade resources bypass graceful deletion
422
+ -r, --rest < REST>
423
+ The rest endpoint to connect to
424
+ -k, --kube-config-path < KUBE_CONFIG_PATH>
425
+ Path to kubeconfig file
426
+ -o, --output < OUTPUT>
427
+ The Output, viz yaml, json [default: none]
428
+ -j, --jaeger < JAEGER>
429
+ Trace rest requests to the Jaeger endpoint agent
430
+ -n, --namespace < NAMESPACE>
431
+ Kubernetes namespace of mayastor service [default: mayastor]
432
+ -h, --help
433
+ Print help
434
+
435
+ ` ` `
403
436
< /details>
0 commit comments