Skip to content

Commit

Permalink
fix(jiva, upgrade): fix jiva upgrade runtask (openebs#2585)
Browse files Browse the repository at this point in the history
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
  • Loading branch information
sai chaithanya authored and Amit Kumar Das committed May 22, 2019
1 parent 6389c3d commit b26cd99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion k8s/upgrades/0.8.2-0.9.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Limitations:
If your `pwd` is openebs/k8s/upgrades/0.8.2-0.9.0/

# Steps Before Upgrade:
- Make sure that all volume related pods are in running state.
- Apply rbac.yaml to manage permission rules `kubectl apply -f rbac.yaml` .
- cd jiva
- Apply cr.yaml which installs a custom resource definition for UpgradeResult custom reource. This custom resource is used to capture upgrade related information for success or failure case.
Expand All @@ -109,11 +110,12 @@ If your `pwd` is openebs/k8s/upgrades/0.8.2-0.9.0/

# Steps Before Upgrade:

- Make sure that all pool & volume related pods are in running state.
- Apply rbac.yaml to manage permission rules `kubectl apply -f rbac.yaml` .
- cd cstor
- Apply cr.yaml which installs a custom resource definition for UpgradeResult custom reource. This custom resource is used to capture upgrade related information for success or failure case.

# Steps For OpenEBS cStor Volume Upgrade:
# Steps For OpenEBS cStor Pool Upgrade:

- Apply cstor-pool-update-082-090.yaml
- Open pool-upgrade-job.yaml and put the name of cstorpool resource which you want to upgrade. Some comments itself is written in the yaml for clarity.
Expand Down
2 changes: 1 addition & 1 deletion k8s/upgrades/0.8.2-0.9.0/cstor/steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- Apply cr.yaml which installs a custom resource definition for UpgradeResult custom reource. This custom resource is used to capture upgrade related information for success or failure case.
- Apply rbac.yaml for permission stuff.

# Steps For OpenEBS cStor Volume Upgrade:
# Steps For OpenEBS cStor Pool Upgrade:

- Apply cstor-pool-update-082-090.yaml
- Open pool-upgrade-job.yaml and put the name of cstorpool resource which you want to upgrade. Some comments itself is written in the yaml for clarity.
Expand Down
2 changes: 1 addition & 1 deletion k8s/upgrades/0.8.2-0.9.0/jiva/jiva_upgrade_runtask.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ spec:
{{- $URName := upgradeResultWithTaskOwnerName .UpgradeItem.upgradeResultName -}}
{{- $URNamespace := upgradeResultWithTaskOwnerNamespace .UpgradeItem.upgradeResultNamespace -}}
{{- $taskName := upgradeResultWithTaskName "upgrade-jiva-volume-0.8.2-0.9.0-post-check-rep-deployment-image" -}}
{{- $taskName := upgradeResultWithTaskName "upgrade-jiva-volume-0.8.2-0.9.0-post-check-ctrl-svc" -}}
{{- $taskStartTime := upgradeResultWithTaskStartTime now -}}
{{- $taskEndTime := upgradeResultWithTaskEndTime now -}}
{{- $status := "" -}}
Expand Down

0 comments on commit b26cd99

Please sign in to comment.