R10 tag/path update
[dcaegen2/platform/plugins.git] / k8s / plugin_testing_blueprints / blueprints / nginx-svc-nodeport-ipv6.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 with ipv6
6   If kubernetes doesn't have ipv6, service will get ipv4
7
8 imports:
9   - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
10   - plugin:k8splugin?version=>=3.0.0,<4.0.0
11
12 node_templates:
13   web_server:
14     type: dcae.nodes.ContainerizedServiceComponent
15     properties:
16       service_component_type: 'nginx-web'
17       image: nginx
18       docker_config:
19         healthcheck:
20           type: "http"
21           endpoint: "/"
22         ports:
23           - '80:0'
24           - concat: ['80:30581']
25             ipv6: true