Fix: change bootstrapping CoreDNS Pod labels
Exclude the host bootstrapping coredns pod from the Kubernetes DNS Service, so that no traffic is routed to it until the node is joined. Change-Id: Ic0ac97d343b08f49ef6034fa186766fe17ab1738
This commit is contained in:
parent
4a41bab364
commit
7b250b5cc4
|
@ -5,7 +5,10 @@ metadata:
|
||||||
name: coredns
|
name: coredns
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
coredns-service: enabled
|
# NOTE(mark-burnett): This is a host initialization Pod and should not be
|
||||||
|
# included in the Kubernetes DNS service, so ensure it does not get
|
||||||
|
# selected.
|
||||||
|
coredns-service: disabled
|
||||||
annotations:
|
annotations:
|
||||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
||||||
spec:
|
spec:
|
||||||
|
|
Loading…
Reference in New Issue