Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
Fix coredns-worker podAntiAffinity to correctly select on kube-dns-wo…
Browse files Browse the repository at this point in the history
…rker (#2386) (#2389)

* fix coredns-worker podAntiAffinity to correctly select on kube-dns-worker

* bump DNS_APP_TAG to 7.1.2

Co-authored-by: Matt Burdan <[email protected]>
  • Loading branch information
Kevin Nisbet and burdzwastaken authored Jan 14, 2021
1 parent b32546d commit 6031fef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ TELEKUBE_APP_TAG := $(GRAVITY_TAG)
WORMHOLE_APP_TAG := $(GRAVITY_TAG)
LOGGING_APP_TAG ?= 6.0.7
MONITORING_APP_TAG ?= 6.0.17
DNS_APP_TAG = 6.1.2
DNS_APP_TAG = 6.1.3
BANDWAGON_TAG ?= 6.0.1
RBAC_APP_TAG := $(GRAVITY_TAG)
# IMPORTANT: When updating tiller version, DO NOT FORGET to bump TILLER_APP_TAG as well!
Expand Down
4 changes: 2 additions & 2 deletions assets/dns-app/resources/dns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ spec:
matchExpressions:
- key: k8s-app
operator: In
values: ["kube-dns"]
values: ["kube-dns-worker"]
topologyKey: kubernetes.io/hostname
containers:
- name: coredns
Expand Down Expand Up @@ -421,7 +421,7 @@ data:
# If using small nodes, "nodesPerReplica" should dominate.
# Parameters based on kubernetes defaults: https://github.com/kubernetes/kubernetes/blob/f65f868aa041e108a73a014df360427c6e05e493/cluster/addons/dns-horizontal-autoscaler/dns-horizontal-autoscaler.yaml
# linear: '{"coresPerReplica":256,"includeUnschedulableNodes":true,"nodesPerReplica":16,"preventSinglePointFailure":true}'
# Use ladder scaling that emulates the linear scale, because we want to scale down to 0 replicas when no workers are
# Use ladder scaling that emulates the linear scale, because we want to scale down to 0 replicas when no workers are
# joined to the cluster. The linear scaler doesn't support 0 replicas.
ladder: |-
{
Expand Down

0 comments on commit 6031fef

Please sign in to comment.