summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/emco/examples/README.md
diff options
context:
space:
mode:
authorEric Multanen <eric.w.multanen@intel.com>2021-06-24 20:45:24 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-24 20:45:24 +0000
commitcec17f07ca594b45e9781438f0d9b9f9d60f2961 (patch)
tree86fad4b7b5b22311604b01fb585e5e35a1406ff3 /kud/deployment_infra/emco/examples/README.md
parent3c09e032b06c18426e59ec38d925e2b4ace24abc (diff)
parent741d0b2bf25ee68eab05c5a768f60515131bb852 (diff)
Merge "Refactor EMCO deploy of addons"
Diffstat (limited to 'kud/deployment_infra/emco/examples/README.md')
-rw-r--r--kud/deployment_infra/emco/examples/README.md27
1 files changed, 15 insertions, 12 deletions
diff --git a/kud/deployment_infra/emco/examples/README.md b/kud/deployment_infra/emco/examples/README.md
index b91cce10..203b83fd 100644
--- a/kud/deployment_infra/emco/examples/README.md
+++ b/kud/deployment_infra/emco/examples/README.md
@@ -27,33 +27,36 @@ needs to be installed and configured for the edge cluster.
2. Customize values.yaml.
`$ envsubst < values.yaml.example > values.yaml`
- `$ envsubst < values-resources.yaml.example > values-resources.yaml`
## Create prerequisites to deploy addons
-Apply prerequisites.yaml. This creates controllers, one project, one
-cluster, and default logical cloud. This step is required to be done
-only once.
+Apply the prerequisites. This creates the controllers, one or more
+clusters, one project, and one default logical cloud. This step is
+required to be done only once.
- `$ emcoctl apply -f prerequisites.yaml -v values.yaml`
+ `$ emcoctl apply -f 00-controllers.yaml -v values.yaml`
+ `$ emcoctl apply -f 01-cluster.yaml -v values.yaml`
+ `$ emcoctl apply -f 02-project.yaml -v values.yaml`
## Deploying addons
-Apply composite-app.yaml. This deploys the addons listed in the `Apps`
-value.
+This deploys the applications listed in the `Addons` and
+`AddonResources` values.
- `$ emcoctl apply -f ../output/composite-app.yaml -v values.yaml`
- `$ emcoctl apply -f ../output/composite-app.yaml -v values-resources.yaml`
+ `$ emcoctl apply -f 03-addons-app.yaml -v values.yaml`
+ `$ emcoctl apply -f 04-addon-resources-app.yaml -v values.yaml`
## Cleanup
1. Delete addons.
- `$ emcoctl delete -f ../output/composite-app.yaml -v values-resources.yaml`
- `$ emcoctl delete -f ../output/composite-app.yaml -v values.yaml`
+ `$ emcoctl delete -f 04-addon-resources-app.yaml -v values.yaml`
+ `$ emcoctl delete -f 03-addons-app.yaml -v values.yaml`
2. Cleanup prerequisites.
- `$ emcoctl delete -f prerequisites.yaml -v values.yaml`
+ `$ emcoctl delete -f 02-project.yaml -v values.yaml`
+ `$ emcoctl delete -f 01-cluster.yaml -v values.yaml`
+ `$ emcoctl delete -f 00-controllers.yaml -v values.yaml`
#### NOTE: Known issue: Deletion of the resources fails sometimes as some resources can't be deleted before others are deleted. This can happen due to timing issue. In that case try deleting again and the deletion should succeed.