diff options
author | Jack Lucas <jflos@sonoris.net> | 2020-08-12 11:30:41 -0400 |
---|---|---|
committer | Jack Lucas <jflos@sonoris.net> | 2020-08-12 11:33:09 -0400 |
commit | 43f0c2c84a1d1c0e9dd49e41c748f56b5820760b (patch) | |
tree | 4d5eb9a325684abdb4bfaf66d2f6f9019bd654ea /k8s/plugin_testing_blueprints/blueprints/nginx-svc-script.yaml | |
parent | 75758e6b5202c3a913c7a3509c3596a11c6270ad (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/blueprints/nginx-svc-script.yaml')
-rw-r--r-- | k8s/plugin_testing_blueprints/blueprints/nginx-svc-script.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/k8s/plugin_testing_blueprints/blueprints/nginx-svc-script.yaml b/k8s/plugin_testing_blueprints/blueprints/nginx-svc-script.yaml new file mode 100644 index 0000000..97306d3 --- /dev/null +++ b/k8s/plugin_testing_blueprints/blueprints/nginx-svc-script.yaml @@ -0,0 +1,22 @@ +tosca_definitions_version: cloudify_dsl_1_3
+
+description: >
+ Simple blueprint to launch nginx as a "service component"
+ Use a script for the healthcheck
+
+imports:
+ - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
+ - plugin:k8splugin?version=3.0.0
+
+node_templates:
+ web_server:
+ type: dcae.nodes.ContainerizedServiceComponent
+ properties:
+ service_component_type: 'nginx-web'
+ image: nginx
+ docker_config:
+ healthcheck:
+ type: "script"
+ script: "/bin/true"
+ ports:
+ - '80:0'
|