Kubernetes DNS schedules a DNS Pod and service on the cluster, and configures the kubelets to tell individual containers to use the DNS Service’s IP to resolve DNS names.

Validate

Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.

Metrics

OpsRamp MetricMetric Display NameUnit
kube_kubedns_cachemiss_count

Number of DNS cache misses (from the start of the process).
Cachemiss Count
kube_kubedns_error_count

Number of DNS requests resulting in an error.
Error Count
kube_kubedns_request_count

Total number of DNS requests made.
Request Count
kube_kubedns_request_duration_seconds_count

Number of requests on which the kubedns.request_duration.seconds.sum metric is evaluated.
Request Duration Seconds Count
kube_kubedns_request_duration_seconds_sum

Time taken by each request to resolve.
Request Duration Seconds Sumseconds
kube_kubedns_response_size_bytes_count

Number of responses on which kubedns.response_size.bytes.sum metric is evaluated.
Response Size Bytes Countbytes
kube_kubedns_response_size_bytes_sum

Size of the returns response.
Response Size Bytes Sumbytes