summaryrefslogtreecommitdiffstats
path: root/files/origin-components
diff options
context:
space:
mode:
authorJim Minter <jminter@redhat.com>2017-12-07 11:04:04 -0600
committerJim Minter <jminter@redhat.com>2017-12-11 17:15:54 -0600
commit9d36de22bcea00b7a4b76906abfdbf0f4d6beeb7 (patch)
tree8a740026a01d29b5db43c099f56215d7068d5ace /files/origin-components
parente5faa36d01cba99c2f1e67cfd126f5b5be11d367 (diff)
downloadopenshift-9d36de22bcea00b7a4b76906abfdbf0f4d6beeb7.tar.gz
openshift-9d36de22bcea00b7a4b76906abfdbf0f4d6beeb7.tar.bz2
openshift-9d36de22bcea00b7a4b76906abfdbf0f4d6beeb7.tar.xz
openshift-9d36de22bcea00b7a4b76906abfdbf0f4d6beeb7.zip
prevent TSB pods from spinning on inappropriate nodes
Diffstat (limited to 'files/origin-components')
-rw-r--r--files/origin-components/apiserver-template.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/files/origin-components/apiserver-template.yaml b/files/origin-components/apiserver-template.yaml
index 1b42597af..035e4734b 100644
--- a/files/origin-components/apiserver-template.yaml
+++ b/files/origin-components/apiserver-template.yaml
@@ -15,6 +15,8 @@ parameters:
apiVersion: config.templateservicebroker.openshift.io/v1
templateNamespaces:
- openshift
+- name: NODE_SELECTOR
+ value: "{}"
objects:
# to create the tsb server
@@ -59,6 +61,7 @@ objects:
path: /healthz
port: 8443
scheme: HTTPS
+ nodeSelector: "${{NODE_SELECTOR}}"
volumes:
- name: serving-cert
secret: