summaryrefslogtreecommitdiffstats
path: root/k8s/plugin_testing_blueprints/operations/README.md
diff options
context:
space:
mode:
authorJack Lucas <jflos@sonoris.net>2020-08-12 11:30:41 -0400
committerJack Lucas <jflos@sonoris.net>2020-08-12 11:33:09 -0400
commit43f0c2c84a1d1c0e9dd49e41c748f56b5820760b (patch)
tree4d5eb9a325684abdb4bfaf66d2f6f9019bd654ea /k8s/plugin_testing_blueprints/operations/README.md
parent75758e6b5202c3a913c7a3509c3596a11c6270ad (diff)
Add plugin testing blueprints
Issue-ID: DCAEGEN2-2352 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Icacef912fc24d2814d513bd2df2a6aaed117ebb5
Diffstat (limited to 'k8s/plugin_testing_blueprints/operations/README.md')
-rw-r--r--k8s/plugin_testing_blueprints/operations/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/k8s/plugin_testing_blueprints/operations/README.md b/k8s/plugin_testing_blueprints/operations/README.md
new file mode 100644
index 0000000..895427d
--- /dev/null
+++ b/k8s/plugin_testing_blueprints/operations/README.md
@@ -0,0 +1,14 @@
+# Parameter Files for Testing Operations
+The k8s plugin supports some operations beyond just installation and uninstallation:
+- `scale`: change the number of replicas of component
+- `update_image`: change the Docker image used for the component
+- `policy_update`: update a component's configuration in Consul and notify the component of the change
+
+The files in this directory contain parameters for testing the additional operations.
+The specific values in the files are tied to values in the blueprints in the `../blueprints` directory.
+
+## Invoking an operation
+Invoking the operations here involves running the Cloudify `execute_operation` workflow.
+
+ `cfy executions start -p `_/path/to/operation_file_` -d `_name_of_cloudify_deployment_` execute_operation`
+