mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Remove the kubernetes.io/cluster-service label from the Deployment templates
This commit is contained in:
parent
d6f7ae2ffb
commit
876153d491
@ -46,7 +46,6 @@ kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
k8s-app: kube-discovery
|
||||
kubernetes.io/cluster-service: "true"
|
||||
name: kube-discovery
|
||||
namespace: kube-system
|
||||
spec:
|
||||
@ -54,7 +53,6 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: kube-discovery
|
||||
kubernetes.io/cluster-service: "true"
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -53,7 +53,6 @@ kind: DaemonSet
|
||||
metadata:
|
||||
labels:
|
||||
k8s-app: kube-proxy
|
||||
kubernetes.io/cluster-service: "true"
|
||||
name: kube-proxy
|
||||
namespace: kube-system
|
||||
spec:
|
||||
@ -64,7 +63,6 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
k8s-app: kube-proxy
|
||||
kubernetes.io/cluster-service: "true"
|
||||
annotations:
|
||||
# TODO: Move this to the beta tolerations field below as soon as the Tolerations field exists in PodSpec
|
||||
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"dedicated","value":"master","effect":"NoSchedule"}]'
|
||||
@ -102,7 +100,6 @@ kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
k8s-app: kube-dns
|
||||
kubernetes.io/cluster-service: "true"
|
||||
name: kube-dns
|
||||
namespace: kube-system
|
||||
spec:
|
||||
@ -110,7 +107,6 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: kube-dns
|
||||
kubernetes.io/cluster-service: "true"
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
@ -120,7 +116,6 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
k8s-app: kube-dns
|
||||
kubernetes.io/cluster-service: "true"
|
||||
annotations:
|
||||
# TODO: Move this to the beta tolerations field below as soon as the Tolerations field exists in PodSpec
|
||||
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"dedicated","value":"master","effect":"NoSchedule"}]'
|
||||
|
Loading…
Reference in New Issue
Block a user