This tool monitors the Kube-DNS / CoreDNS at the pod level to detect DNS issues on each node by checking internal and external DNS records. It exposes various metrics via Prometheus, including the status and response times of DNS services.
dns_status: DNS up/down status. 1 for up, 0 for down. Labeled by 'type' which can be 'internal' or 'external'.dns_response_time_seconds: Histogram of response times for DNS checks in seconds, labeled by 'type'.To install k8s-monitor-dns in your Kubernetes cluster, follow these steps:
git clone https://github.com/mattmattox/k8s-monitor-dns.git
cd k8s-monitor-dns
kubectl apply -f deploy.yaml
To upgrade k8s-monitor-dns to the latest version:
git clone https://github.com/mattmattox/k8s-monitor-dns.git
cd k8s-monitor-dns
kubectl apply -f deploy.yaml
InternalHost: kube-dns.kube-system.svc.cluster.local
InternalIP: 10.43.0.10
ExternalHost: a.root-servers.net
ExternalIP: 198.41.0.4
Timeout: 10s
Delay: 5s
Content type
Image
Digest
sha256:901bfb3ae…
Size
58.6 MB
Last updated
almost 3 years ago
docker pull cube8021/k8s-monitor-dns