Skip to content

Commit

Permalink
use selecgtor labels for service monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonGluz committed Jul 18, 2024
1 parent e628ee4 commit 1e3a656
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions stable/node-local-dns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
apiVersion: v2
name: node-local-dns
version: 2.0.13
version: 2.0.14
appVersion: 1.23.1
maintainers:
- name: gabrieladt
email: no-reply@deliveryhero.com
- name: gabrieladt
email: no-reply@deliveryhero.com
icon: https://miro.medium.com/max/641/1*q3vcbyVXcvaRnFLEQEHrXw.png
description: |
A chart to install node-local-dns.
A chart to install node-local-dns.
NodeLocal DNSCache improves Cluster DNS performance by running a DNS caching agent on cluster nodes as a DaemonSet.
NodeLocal DNSCache improves Cluster DNS performance by running a DNS caching agent on cluster nodes as a DaemonSet.
In today's architecture, Pods in 'ClusterFirst' DNS mode reach out to a kube-dns serviceIP for DNS queries. This is translated to a kube-dns/CoreDNS endpoint via iptables rules added by kube-proxy. With this new architecture, Pods will reach out to the DNS caching agent running on the same node, thereby avoiding iptables DNAT rules and connection tracking. The local caching agent will query kube-dns service for cache misses of cluster hostnames ("cluster.local" suffix by default).
In today's architecture, Pods in 'ClusterFirst' DNS mode reach out to a kube-dns serviceIP for DNS queries. This is translated to a kube-dns/CoreDNS endpoint via iptables rules added by kube-proxy. With this new architecture, Pods will reach out to the DNS caching agent running on the same node, thereby avoiding iptables DNAT rules and connection tracking. The local caching agent will query kube-dns service for cache misses of cluster hostnames ("cluster.local" suffix by default).
Further documentation is [here](https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/)
Further documentation is [here](https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/)
This helm chart works for both kube-proxy setups (iptables or ipvs).
This helm chart works for both kube-proxy setups (iptables or ipvs).
2 changes: 1 addition & 1 deletion stable/node-local-dns/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# node-local-dns

![Version: 2.0.13](https://img.shields.io/badge/Version-2.0.13-informational?style=flat-square) ![AppVersion: 1.23.1](https://img.shields.io/badge/AppVersion-1.23.1-informational?style=flat-square)
![Version: 2.0.14](https://img.shields.io/badge/Version-2.0.14-informational?style=flat-square) ![AppVersion: 1.23.1](https://img.shields.io/badge/AppVersion-1.23.1-informational?style=flat-square)

A chart to install node-local-dns.

Expand Down
2 changes: 1 addition & 1 deletion stable/node-local-dns/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ spec:
- kube-system
selector:
matchLabels:
k8s-app: {{ include "node-local-dns.name" . }}
{{- include "node-local-dns.selectorLabels" . | nindent 6 }}
{{- end -}}

0 comments on commit 1e3a656

Please sign in to comment.