Fix for unknown 'kubernetes.io' or 'k8s.io' labels specified with --node-labels (#4320)

* Fix the file path for all.yml and k8s-cluster.yml

* Fix --node-labels namespace error "unknown labels specified"

* Update templates and configs kubelet node-labels
This commit is contained in:
Robert Neumann
2019-04-10 13:14:12 +02:00
committed by Kubernetes Prow Robot
parent 6caa639243
commit 586ad89d50
18 changed files with 25 additions and 25 deletions

View File

@@ -45,7 +45,7 @@ spec:
tolerations:
- effect: NoSchedule
operator: Equal
key: node-role.kubernetes.io/master
key: node.kubernetes.io/master
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
@@ -58,7 +58,7 @@ spec:
- weight: 100
preference:
matchExpressions:
- key: node-role.kubernetes.io/master
- key: node.kubernetes.io/master
operator: In
values:
- ""