summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor D.C <igor.duarte.cardoso@intel.com>2020-10-06 20:45:19 +0000
committerIgor D.C <igor.duarte.cardoso@intel.com>2020-10-06 20:48:05 +0000
commit5b7c5d58eb5224b85ecbcc44aba60307e16cbe9b (patch)
treed908dfcb6669012b03e5a3fb6acc082bb5404284
parent936bfeda54f55d56751017d6e6674427b7addf81 (diff)
Apply corrections to EMCO v2 helm README
Mostly just make the identifiers consistent with each other so copy-paste works without surprises. No more rel- prefix, just emco-. Additionally suggest a 2nd workaround to the persistentvolumes issue. Issue-ID: MULTICLOUD-1143 Change-Id: I7ad1d3a4b20f7563226a9d487c388275e56429b5 Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
-rw-r--r--deployments/helm/v2/emco/README.md23
1 files changed, 11 insertions, 12 deletions
diff --git a/deployments/helm/v2/emco/README.md b/deployments/helm/v2/emco/README.md
index 3534f5a5..407f4509 100644
--- a/deployments/helm/v2/emco/README.md
+++ b/deployments/helm/v2/emco/README.md
@@ -34,31 +34,31 @@ Pacakges helm charts in tar.gz format. All packages are in **dist/packages** dir
**4. Deploy tools (Optional)**
-`$ helm install dist/packages/emco-tools-0.1.0.tgz --name rel-tools --namespace emco`
+`$ helm install dist/packages/emco-tools-0.1.0.tgz --name emco-tools --namespace emco`
NOTE: Deploy the Chart emco-0.1.0.tgz to deploy all packages including database, services and tools.
-`$ helm install dist/packages/emco-0.1.0.tgz --name rel --namespace emco`
+`$ helm install dist/packages/emco-0.1.0.tgz --name emco --namespace emco`
**5. To check logs of the different Microservices check fluentd logs**
-`kubectl logs rel-fluentd-0 -n emco | grep orchestrator`
+`kubectl logs emco-tools-fluentd-0 -n emco | grep orchestrator`
**6. Delete all packages**
-`$ helm delete rel-services --purge`
+`$ helm delete emco-services --purge`
-`$ helm delete rel-db --purge`
+`$ helm delete emco-db --purge`
Optional if tools were installed
-`$ helm delete rel-tools --purge`
+`$ helm delete emco-tools --purge`
NOTE: If the Chart emco-0.1.0.tgz was deployed
-`$ helm delete rel --purge`
+`$ helm delete emco --purge`
**7. Delete local helm repo**
@@ -69,10 +69,9 @@ NOTE: If the Chart emco-0.1.0.tgz was deployed
After deleting the db package and before installing the package again following error happens:
-`Error: release rel-db failed: object is being deleted: persistentvolumes "rel-db-emco-etcd-data-0" already exists`
+`Error: release emco-db failed: object is being deleted: persistentvolumes "emco-db-emco-etcd-data-0" already exists`
-Workaround :
+Workarounds:
-`kubectl edit persistentvolumes rel-db-emco-etcd-data-0`
-
-and remover finalizers section
+* remove the finalizers section using `kubectl edit persistentvolumes emco-db-emco-etcd-data-0`
+* or, if appropriate, delete the entire namespace using `kubectl delete namespace emco` \ No newline at end of file