R10 tag/path update
[dcaegen2/platform/plugins.git] / k8s / plugin_testing_blueprints / blueprints / nginx-svc-nodeport.yaml
1 tosca_definitions_version: cloudify_dsl_1_3
2
3 description: >
4   Simple blueprint to launch nginx as a "service component"
5   Exposes port as a NodePort service
6
7 imports:
8   - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
9   - plugin:k8splugin?version=>=3.0.0,<4.0.0
10
11 node_templates:
12   web_server:
13     type: dcae.nodes.ContainerizedServiceComponent
14     properties:
15         service_component_type: 'nginx-web'
16         image: nginx
17         docker_config:
18             healthcheck:
19               type: "http"
20               endpoint: "/"
21             ports:
22               - '80:30580'