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