Skip to content

Commit

Permalink
17648 Fix to schedule the ingress-dns pod on the minikube primary nod…
Browse files Browse the repository at this point in the history
…e in multinode clusters
  • Loading branch information
fbyrne authored and spowelljr committed Oct 26, 2024
1 parent 03b1aa0 commit 766ed01
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/addons/ingress-dns/ingress-dns-pod.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ metadata:
spec:
serviceAccountName: minikube-ingress-dns
hostNetwork: true
nodeSelector:
kubernetes.io/os: linux
minikube.k8s.io/primary: 'true'
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Equal
containers:
- name: minikube-ingress-dns
image: {{.CustomRegistries.IngressDNS | default .ImageRepository | default .Registries.IngressDNS }}{{.Images.IngressDNS}}
Expand Down

0 comments on commit 766ed01

Please sign in to comment.