From 25e52acb952d7ded62ecd2af197188351b15c86c Mon Sep 17 00:00:00 2001 From: Bryan Sullivan Date: Wed, 3 Jan 2018 10:12:36 -0800 Subject: Add label selectors for k8s master and worker roles JIRA: MODELS-2 Change-Id: If57b86aeafd6bf83b832f63c7e4188a5a7872b26 Signed-off-by: Bryan Sullivan --- tools/cloudify/blueprints/k8s-hello-world/blueprint.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/cloudify') diff --git a/tools/cloudify/blueprints/k8s-hello-world/blueprint.yaml b/tools/cloudify/blueprints/k8s-hello-world/blueprint.yaml index 54c0b45..a7d7c49 100644 --- a/tools/cloudify/blueprints/k8s-hello-world/blueprint.yaml +++ b/tools/cloudify/blueprints/k8s-hello-world/blueprint.yaml @@ -116,6 +116,8 @@ node_templates: labels: app: nginx spec: + nodeSelector: + role: worker containers: - name: nginx image: nginx:1.7.9 -- cgit 1.2.3-korg