|
@ -5,7 +5,7 @@ metadata: |
|
|
name: "coredns{{ coredns_ordinal_suffix }}" |
|
|
name: "coredns{{ coredns_ordinal_suffix }}" |
|
|
namespace: kube-system |
|
|
namespace: kube-system |
|
|
labels: |
|
|
labels: |
|
|
k8s-app: "coredns{{ coredns_ordinal_suffix }}" |
|
|
|
|
|
|
|
|
k8s-app: "kube-dns{{ coredns_ordinal_suffix }}" |
|
|
kubernetes.io/cluster-service: "true" |
|
|
kubernetes.io/cluster-service: "true" |
|
|
addonmanager.kubernetes.io/mode: Reconcile |
|
|
addonmanager.kubernetes.io/mode: Reconcile |
|
|
kubernetes.io/name: "coredns{{ coredns_ordinal_suffix }}" |
|
|
kubernetes.io/name: "coredns{{ coredns_ordinal_suffix }}" |
|
@ -17,11 +17,11 @@ spec: |
|
|
maxSurge: 10% |
|
|
maxSurge: 10% |
|
|
selector: |
|
|
selector: |
|
|
matchLabels: |
|
|
matchLabels: |
|
|
k8s-app: coredns{{ coredns_ordinal_suffix }} |
|
|
|
|
|
|
|
|
k8s-app: kube-dns{{ coredns_ordinal_suffix }} |
|
|
template: |
|
|
template: |
|
|
metadata: |
|
|
metadata: |
|
|
labels: |
|
|
labels: |
|
|
k8s-app: coredns{{ coredns_ordinal_suffix }} |
|
|
|
|
|
|
|
|
k8s-app: kube-dns{{ coredns_ordinal_suffix }} |
|
|
annotations: |
|
|
annotations: |
|
|
seccomp.security.alpha.kubernetes.io/pod: 'docker/default' |
|
|
seccomp.security.alpha.kubernetes.io/pod: 'docker/default' |
|
|
spec: |
|
|
spec: |
|
@ -40,7 +40,7 @@ spec: |
|
|
- topologyKey: "kubernetes.io/hostname" |
|
|
- topologyKey: "kubernetes.io/hostname" |
|
|
labelSelector: |
|
|
labelSelector: |
|
|
matchLabels: |
|
|
matchLabels: |
|
|
k8s-app: coredns{{ coredns_ordinal_suffix }} |
|
|
|
|
|
|
|
|
k8s-app: kube-dns{{ coredns_ordinal_suffix }} |
|
|
nodeAffinity: |
|
|
nodeAffinity: |
|
|
preferredDuringSchedulingIgnoredDuringExecution: |
|
|
preferredDuringSchedulingIgnoredDuringExecution: |
|
|
- weight: 100 |
|
|
- weight: 100 |
|
|