From 60bbcc12d84026fc76ad231148a382aaa93bfc63 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Mon, 27 Jul 2020 09:22:39 -0500 Subject: [PATCH] Work around k8s 1.16 limitations of priorityClassName. Signed-off-by: Matt Moyer --- deploy/deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/deployment.yaml b/deploy/deployment.yaml index 9cfb474b..1b93a647 100644 --- a/deploy/deployment.yaml +++ b/deploy/deployment.yaml @@ -90,7 +90,9 @@ spec: hostPath: path: /etc/kubernetes/pki type: DirectoryOrCreate - priorityClassName: system-cluster-critical + #! "system-cluster-critical" cannot be used outside the kube-system namespace until Kubernetes >= 1.17, + #! so we skip setting this for now (see https://github.com/kubernetes/kubernetes/issues/60596). + #! priorityClassName: system-cluster-critical nodeSelector: node-role.kubernetes.io/master: "" tolerations: