diff options
author | Todd Malsbary <todd.malsbary@intel.com> | 2021-06-02 16:31:22 -0700 |
---|---|---|
committer | Todd Malsbary <todd.malsbary@intel.com> | 2021-06-09 10:03:51 -0700 |
commit | 741d0b2bf25ee68eab05c5a768f60515131bb852 (patch) | |
tree | 26285c62bba41355774a62697e6bf4a25229831d /kud/deployment_infra/emco/examples/README.md | |
parent | 99f2be307f194e1f6a60e4098e82f6775c8dad5b (diff) |
Refactor EMCO deploy of addons
Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I90b33cd99c42017b50f3174b6f9033a861e11dd3
Diffstat (limited to 'kud/deployment_infra/emco/examples/README.md')
-rw-r--r-- | kud/deployment_infra/emco/examples/README.md | 27 |
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. |