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
|
||||
namespace: kube-system
|
||||
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:
|
||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
||||
spec:
|
||||
|
Loading…
Reference in New Issue
Block a user