Introduction
Microk8s KubeDNS schedules a DNS Pod and service on the cluster and configures the kubelets to tell individual containers to use the DNS Service IP to resolve DNS names.
Global Template
Assign following template to Microk8s Master or Microk8s integration resource under Infrastructure > Resources > Microk8s page.
Collector Type: Agent
Category: Application Monitors
G2 Monitor Name: Agent G2 - Linux - Kubernetes DNS Monitoring
Global Template Name: Agent G2 - Linux - Kubernetes DNS Monitoring
Collected Metrics
Metric Name | Display Name | Description | Units |
---|---|---|---|
kubedns.cachemiss_count | Cachemiss Count | Number of DNS cache misses (from start of process) | - |
kubedns.error_count | Error Count | Number of DNS requests resulting in an error | - |
kubedns.request_count | Request Count | Total number of DNS requests made | - |
kubedns.request_duration.seconds.count | Request Duration Seconds Count | Number of requests on which the kubedns.request_duration.seconds.sum metric is evaluated | - |
kubedns.request_duration.seconds.sum | Request Duration Seconds Sum | Time (in seconds) taken to resolve each request | - |
kubedns.response_size.bytes.count | Response Size Bytes Count | Number of responses on which the kubedns.response_size.bytes.sum metric is evaluated | - |
kubedns.response_size.bytes.sum | Response Size Bytes Sum | Size of the returns response in bytes | bytes |
Validate
Navigate to Infrastructure > Resources tab to check if your resources are onboarded and the metrics are collected.