Преглед на файлове

Merge pull request #8119 from derekwaynecarr/critical-pod-updates

mark control plane components backed by static pods as critical
OpenShift Merge Robot преди 7 години
родител
ревизия
b3c637b280
променени са 3 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 2 0
      roles/etcd/files/etcd.yaml
  2. 2 0
      roles/openshift_control_plane/files/apiserver.yaml
  3. 2 0
      roles/openshift_control_plane/files/controller.yaml

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

@@ -6,6 +6,8 @@ metadata:
   labels:
     openshift.io/control-plane: "true"
     openshift.io/component: etcd
+  annotations:
+    scheduler.alpha.kubernetes.io/critical-pod: ''
 spec:
   restartPolicy: Always
   hostNetwork: true

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

@@ -6,6 +6,8 @@ metadata:
   labels:
     openshift.io/control-plane: "true"
     openshift.io/component: api
+  annotations:
+    scheduler.alpha.kubernetes.io/critical-pod: ''
 spec:
   restartPolicy: Always
   hostNetwork: true

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

@@ -6,6 +6,8 @@ metadata:
   labels:
     openshift.io/control-plane: "true"
     openshift.io/component: controllers
+  annotations:
+    scheduler.alpha.kubernetes.io/critical-pod: ''
 spec:
   restartPolicy: Always
   hostNetwork: true