Skip to content

Commit

Permalink
feat: coredns node uninitialized toleration
Browse files Browse the repository at this point in the history
Launch CoreDNS even if the node is not initialized.
Network is ready already, but CCM didn't finish their job.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
sergelogvinov authored and smira committed Mar 13, 2023
1 parent e03902b commit 9948a64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/app/machined/pkg/controllers/k8s/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,9 @@ spec:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- key: "CriticalAddonsOnly"
operator: "Exists"
- key: node.cloudprovider.kubernetes.io/uninitialized
operator: Exists
effect: NoSchedule
containers:
- name: coredns
image: {{ .CoreDNSImage }}
Expand Down

0 comments on commit 9948a64

Please sign in to comment.