Browse Source

Merge pull request #8766 from vrutkovs/registry-console-masters

registry-console: limit pods to masters
OpenShift Merge Robot 6 years ago
parent
commit
4671d5168a

+ 2 - 0
roles/openshift_hosted_templates/files/v3.10/enterprise/registry-console.yaml

@@ -25,6 +25,8 @@ objects:
           labels:
             name: "registry-console"
         spec:
+          nodeSelector:
+            node-role.kubernetes.io/master: 'true'
           containers:
             - name: registry-console
               image: ${IMAGE_PREFIX}${IMAGE_BASENAME}:${IMAGE_VERSION}

+ 2 - 0
roles/openshift_hosted_templates/files/v3.10/origin/registry-console.yaml

@@ -25,6 +25,8 @@ objects:
           labels:
             name: "registry-console"
         spec:
+          nodeSelector:
+            node-role.kubernetes.io/master: 'true'
           containers:
             - name: registry-console
               image: ${IMAGE_PREFIX}${IMAGE_BASENAME}:${IMAGE_VERSION}