mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
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:
committed by
Kubernetes Prow Robot
parent
6caa639243
commit
586ad89d50
@@ -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:
|
||||
- ""
|
||||
|
||||
Reference in New Issue
Block a user