Browse Source

registry-console: limit pods to masters

Vadim Rutkovsky 6 years ago
parent
commit
5dcca801e3

+ 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}