diff --git a/cluster/addons/calico-policy-controller/calico-node-daemonset.yaml b/cluster/addons/calico-policy-controller/calico-node-daemonset.yaml index 63a1e9182e..27a2ece72f 100644 --- a/cluster/addons/calico-policy-controller/calico-node-daemonset.yaml +++ b/cluster/addons/calico-policy-controller/calico-node-daemonset.yaml @@ -20,6 +20,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-node-critical nodeSelector: projectcalico.org/ds-ready: "true" hostNetwork: true diff --git a/cluster/addons/calico-policy-controller/calico-node-vertical-autoscaler-deployment.yaml b/cluster/addons/calico-policy-controller/calico-node-vertical-autoscaler-deployment.yaml index 50ffcab83d..c791926921 100644 --- a/cluster/addons/calico-policy-controller/calico-node-vertical-autoscaler-deployment.yaml +++ b/cluster/addons/calico-policy-controller/calico-node-vertical-autoscaler-deployment.yaml @@ -16,6 +16,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - image: k8s.gcr.io/cpvpa-amd64:v0.6.0 name: autoscaler diff --git a/cluster/addons/calico-policy-controller/typha-deployment.yaml b/cluster/addons/calico-policy-controller/typha-deployment.yaml index 955844aaa8..f4c9ba82fc 100644 --- a/cluster/addons/calico-policy-controller/typha-deployment.yaml +++ b/cluster/addons/calico-policy-controller/typha-deployment.yaml @@ -16,6 +16,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical tolerations: - key: CriticalAddonsOnly operator: Exists diff --git a/cluster/addons/calico-policy-controller/typha-horizontal-autoscaler-deployment.yaml b/cluster/addons/calico-policy-controller/typha-horizontal-autoscaler-deployment.yaml index b338df79df..7d0b553d77 100644 --- a/cluster/addons/calico-policy-controller/typha-horizontal-autoscaler-deployment.yaml +++ b/cluster/addons/calico-policy-controller/typha-horizontal-autoscaler-deployment.yaml @@ -16,6 +16,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.1.2 name: autoscaler diff --git a/cluster/addons/calico-policy-controller/typha-vertical-autoscaler-deployment.yaml b/cluster/addons/calico-policy-controller/typha-vertical-autoscaler-deployment.yaml index 4f55962685..0548918270 100644 --- a/cluster/addons/calico-policy-controller/typha-vertical-autoscaler-deployment.yaml +++ b/cluster/addons/calico-policy-controller/typha-vertical-autoscaler-deployment.yaml @@ -16,6 +16,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - image: k8s.gcr.io/cpvpa-amd64:v0.6.0 name: autoscaler diff --git a/cluster/addons/cluster-monitoring/google/heapster-controller.yaml b/cluster/addons/cluster-monitoring/google/heapster-controller.yaml index e5c512d4f5..3ca44cfde4 100644 --- a/cluster/addons/cluster-monitoring/google/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/google/heapster-controller.yaml @@ -57,6 +57,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - image: k8s.gcr.io/heapster-amd64:v1.5.0 name: heapster diff --git a/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml b/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml index 384ec060d2..c4d3b6c3f9 100644 --- a/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml +++ b/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml @@ -57,6 +57,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - image: k8s.gcr.io/heapster-amd64:v1.5.0 name: heapster diff --git a/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml b/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml index 6ed433f417..e54c72b28b 100644 --- a/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml @@ -57,6 +57,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - image: k8s.gcr.io/heapster-amd64:v1.5.0 name: heapster diff --git a/cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml b/cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml index 7c78ed2c49..1c447b21cb 100644 --- a/cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml +++ b/cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml @@ -22,6 +22,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical tolerations: - key: node-role.kubernetes.io/master effect: NoSchedule diff --git a/cluster/addons/cluster-monitoring/stackdriver/heapster-controller.yaml b/cluster/addons/cluster-monitoring/stackdriver/heapster-controller.yaml index f4943654d7..f156420430 100644 --- a/cluster/addons/cluster-monitoring/stackdriver/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/stackdriver/heapster-controller.yaml @@ -44,6 +44,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - image: k8s.gcr.io/heapster-amd64:v1.5.0 name: heapster diff --git a/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml b/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml index c3f9f8ce61..de869df544 100644 --- a/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml @@ -44,6 +44,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - image: k8s.gcr.io/heapster-amd64:v1.5.0 name: heapster diff --git a/cluster/addons/dashboard/dashboard-controller.yaml b/cluster/addons/dashboard/dashboard-controller.yaml index 5a2377620b..c8869917c9 100644 --- a/cluster/addons/dashboard/dashboard-controller.yaml +++ b/cluster/addons/dashboard/dashboard-controller.yaml @@ -27,6 +27,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - name: kubernetes-dashboard image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.0 diff --git a/cluster/addons/dns-horizontal-autoscaler/dns-horizontal-autoscaler.yaml b/cluster/addons/dns-horizontal-autoscaler/dns-horizontal-autoscaler.yaml index dc638e44dc..3dc0f7959c 100644 --- a/cluster/addons/dns-horizontal-autoscaler/dns-horizontal-autoscaler.yaml +++ b/cluster/addons/dns-horizontal-autoscaler/dns-horizontal-autoscaler.yaml @@ -78,6 +78,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical containers: - name: autoscaler image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.1.2-r2 diff --git a/cluster/addons/dns/kube-dns.yaml.base b/cluster/addons/dns/kube-dns.yaml.base index ffd13ed47b..e68ec81f8d 100644 --- a/cluster/addons/dns/kube-dns.yaml.base +++ b/cluster/addons/dns/kube-dns.yaml.base @@ -84,6 +84,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical tolerations: - key: "CriticalAddonsOnly" operator: "Exists" diff --git a/cluster/addons/dns/kube-dns.yaml.in b/cluster/addons/dns/kube-dns.yaml.in index c3698a4877..1cbaed20d1 100644 --- a/cluster/addons/dns/kube-dns.yaml.in +++ b/cluster/addons/dns/kube-dns.yaml.in @@ -84,6 +84,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical tolerations: - key: "CriticalAddonsOnly" operator: "Exists" diff --git a/cluster/addons/dns/kube-dns.yaml.sed b/cluster/addons/dns/kube-dns.yaml.sed index 3d44112eba..9d34fe4e44 100644 --- a/cluster/addons/dns/kube-dns.yaml.sed +++ b/cluster/addons/dns/kube-dns.yaml.sed @@ -84,6 +84,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical tolerations: - key: "CriticalAddonsOnly" operator: "Exists" diff --git a/cluster/addons/etcd-empty-dir-cleanup/etcd-empty-dir-cleanup.yaml b/cluster/addons/etcd-empty-dir-cleanup/etcd-empty-dir-cleanup.yaml index dd14bdc9bd..b4d33a1966 100644 --- a/cluster/addons/etcd-empty-dir-cleanup/etcd-empty-dir-cleanup.yaml +++ b/cluster/addons/etcd-empty-dir-cleanup/etcd-empty-dir-cleanup.yaml @@ -18,6 +18,7 @@ metadata: labels: k8s-app: etcd-empty-dir-cleanup spec: + priorityClassName: system-node-critical serviceAccountName: etcd-empty-dir-cleanup hostNetwork: true dnsPolicy: Default diff --git a/cluster/addons/fluentd-elasticsearch/fluentd-es-ds.yaml b/cluster/addons/fluentd-elasticsearch/fluentd-es-ds.yaml index bd2d6d2558..92222865cc 100644 --- a/cluster/addons/fluentd-elasticsearch/fluentd-es-ds.yaml +++ b/cluster/addons/fluentd-elasticsearch/fluentd-es-ds.yaml @@ -72,6 +72,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-node-critical serviceAccountName: fluentd-es containers: - name: fluentd-es diff --git a/cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml b/cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml index 118de635a4..415847c3f6 100644 --- a/cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml +++ b/cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml @@ -23,6 +23,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-node-critical serviceAccountName: fluentd-gcp dnsPolicy: Default containers: diff --git a/cluster/addons/ip-masq-agent/ip-masq-agent.yaml b/cluster/addons/ip-masq-agent/ip-masq-agent.yaml index c27a802cb7..19a68b6b36 100644 --- a/cluster/addons/ip-masq-agent/ip-masq-agent.yaml +++ b/cluster/addons/ip-masq-agent/ip-masq-agent.yaml @@ -24,6 +24,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-node-critical serviceAccountName: ip-masq-agent hostNetwork: true containers: diff --git a/cluster/addons/metadata-proxy/gce/metadata-proxy.yaml b/cluster/addons/metadata-proxy/gce/metadata-proxy.yaml index 22e84bb204..99f7097784 100644 --- a/cluster/addons/metadata-proxy/gce/metadata-proxy.yaml +++ b/cluster/addons/metadata-proxy/gce/metadata-proxy.yaml @@ -33,6 +33,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-node-critical serviceAccountName: metadata-proxy hostNetwork: true dnsPolicy: Default diff --git a/cluster/addons/metrics-server/metrics-server-deployment.yaml b/cluster/addons/metrics-server/metrics-server-deployment.yaml index b5c087b12c..3b6e5e66ff 100644 --- a/cluster/addons/metrics-server/metrics-server-deployment.yaml +++ b/cluster/addons/metrics-server/metrics-server-deployment.yaml @@ -44,6 +44,7 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + priorityClassName: system-cluster-critical serviceAccountName: metrics-server containers: - name: metrics-server