Bläddra i källkod

Control plane static pods (apiserver, etcd, controller-manager) must get
highest priority class system-node-critical. Priority admission plugin
was incorrectly assigning system-cluster-critical to these pods.

Avesh Agarwal 6 år sedan
förälder
incheckning
b598278bbe

+ 1 - 0
roles/etcd/files/etcd.yaml

@@ -11,6 +11,7 @@ metadata:
 spec:
   restartPolicy: Always
   hostNetwork: true
+  priorityClassName: system-node-critical
   containers:
   - name: etcd
     image: quay.io/coreos/etcd:v3.3

+ 1 - 0
roles/openshift_control_plane/files/apiserver.yaml

@@ -11,6 +11,7 @@ metadata:
 spec:
   restartPolicy: Always
   hostNetwork: true
+  priorityClassName: system-node-critical
   containers:
   - name: api
     image: docker.io/openshift/origin:v3.11.0

+ 1 - 0
roles/openshift_control_plane/files/controller.yaml

@@ -11,6 +11,7 @@ metadata:
 spec:
   restartPolicy: Always
   hostNetwork: true
+  priorityClassName: system-node-critical
   containers:
   - name: controllers
     image: docker.io/openshift/origin:v3.11.0