summaryrefslogtreecommitdiffstats
path: root/tools/cloudify
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2018-01-03 10:12:36 -0800
committerBryan Sullivan <bryan.sullivan@att.com>2018-01-04 05:58:09 -0800
commit25e52acb952d7ded62ecd2af197188351b15c86c (patch)
tree9bdad5d24790c13f6d2a6433050e3731dd0346b6 /tools/cloudify
parentbd3c52aa5273e39edfa177d226d76b94c882ed0a (diff)
Add label selectors for k8s master and worker roles
JIRA: MODELS-2 Change-Id: If57b86aeafd6bf83b832f63c7e4188a5a7872b26 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tools/cloudify')
-rw-r--r--tools/cloudify/blueprints/k8s-hello-world/blueprint.yaml2
1 files changed, 2 insertions, 0 deletions
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