Cleanup deprecated labels beta.kubernetes.io/arch and beta.kubernetes.io/os (#5964)

This commit is contained in:
Florian Ruynat
2020-04-17 14:51:06 +02:00
committed by GitHub
parent ea8b799ff0
commit 83fe607f62
21 changed files with 21 additions and 24 deletions

View File

@@ -26,7 +26,7 @@ spec:
spec:
priorityClassName: system-cluster-critical
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
serviceAccountName: coredns
tolerations:
- key: node-role.kubernetes.io/master

View File

@@ -38,7 +38,7 @@ spec:
supplementalGroups: [ 65534 ]
fsGroup: 65534
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
tolerations:
- effect: NoSchedule
operator: Equal

View File

@@ -20,7 +20,7 @@ spec:
- effect: NoSchedule
operator: Exists
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
containers:
- name: netchecker-agent
image: "{{ netcheck_agent_image_repo }}:{{ netcheck_agent_image_tag }}"

View File

@@ -18,7 +18,7 @@ spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
priorityClassName: {% if netcheck_namespace == 'kube-system' %}system-node-critical{% else %}k8s-cluster-critical{% endif %}{{''}}
tolerations:
- effect: NoSchedule