Skip to content

Commit

Permalink
Consume coredns crd plugin with WRR functionality (#1141)
Browse files Browse the repository at this point in the history
* Consume coredns crd plugin with WRR functionality

Signed-off-by: Yury Tsarev <yury@upbound.io>

* Amend Corefile to include WRR

Signed-off-by: Yury Tsarev <yury@upbound.io>

---------

Signed-off-by: Yury Tsarev <yury@upbound.io>
  • Loading branch information
ytsarev committed Apr 20, 2023
1 parent 36a28c9 commit 57d0da5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions chart/k8gb/templates/coredns-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ data:
errors
health
ready
loadbalance round_robin
prometheus 0.0.0.0:9153
forward . /etc/resolv.conf
k8s_crd {
resources DNSEndpoint
filter k8gb.absa.oss/dnstype=local
negttl {{ .Values.k8gb.dnsZoneNegTTL }}
loadbalance weight
}
}
{{- end }}
2 changes: 1 addition & 1 deletion chart/k8gb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ coredns:
# -- CoreDNS CRD plugin image
repository: absaoss/k8s_crd
# -- image tag
tag: v0.0.8
tag: v0.0.10
# -- Creates serviceAccount for coredns
serviceAccount:
create: true
Expand Down

0 comments on commit 57d0da5

Please sign in to comment.