mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +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
@@ -116,7 +116,7 @@ spec:
|
||||
name: metrics-server-config
|
||||
{% if not masters_are_not_tainted %}
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/master
|
||||
- key: node.kubernetes.io/master
|
||||
effect: NoSchedule
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
@@ -127,7 +127,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