Work around k8s 1.16 limitations of priorityClassName.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-07-27 09:22:39 -05:00 committed by Ryan Richard
parent 74a328de41
commit 63a5381968
1 changed files with 3 additions and 1 deletions

View File

@ -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: