diff options
author | JerzySzachniewicz <jerzy.szachniewicz@nokia.com> | 2020-12-09 10:11:07 +0100 |
---|---|---|
committer | Jerzy Szachniewicz <jerzy.szachniewicz@nokia.com> | 2020-12-10 09:44:35 +0000 |
commit | 4b5b14368861b9ca468d79326fabcd2992afb3d0 (patch) | |
tree | f4542b4afac5c16828409e59a51b7d0e01dc61c5 /k8s/plugin_testing_blueprints/blueprints/nginx-svc-nodeport-ipv6.yaml | |
parent | 918f38777a822f764818e1fac3bb9d7e0ea2884a (diff) |
Add option to use services with ipv6
Issue-ID: DCAEGEN2-2388
Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com>
Change-Id: I34ca694b38e9c3121ec7a0bd95c92071392052d3
Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com>
Diffstat (limited to 'k8s/plugin_testing_blueprints/blueprints/nginx-svc-nodeport-ipv6.yaml')
-rw-r--r-- | k8s/plugin_testing_blueprints/blueprints/nginx-svc-nodeport-ipv6.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/k8s/plugin_testing_blueprints/blueprints/nginx-svc-nodeport-ipv6.yaml b/k8s/plugin_testing_blueprints/blueprints/nginx-svc-nodeport-ipv6.yaml new file mode 100644 index 0000000..a356daf --- /dev/null +++ b/k8s/plugin_testing_blueprints/blueprints/nginx-svc-nodeport-ipv6.yaml @@ -0,0 +1,25 @@ +tosca_definitions_version: cloudify_dsl_1_3 + +description: > + Simple blueprint to launch nginx as a "service component" + Exposes port as a NodePort service with ipv6 + If kubernetes doesn't have ipv6, service will get ipv4 + +imports: + - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml + - plugin:k8splugin?version=>=3.0.0,<4.0.0 + +node_templates: + web_server: + type: dcae.nodes.ContainerizedServiceComponent + properties: + service_component_type: 'nginx-web' + image: nginx + docker_config: + healthcheck: + type: "http" + endpoint: "/" + ports: + - '80:0' + - concat: ['80:30581'] + ipv6: true |