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 NameUnitDescription
kube_kubedns_cachemiss_countCachemiss CountNumber of DNS cache misses (from the start of the process)
kube_kubedns_error_countError CountNumber of DNS requests resulting in an error
kube_kubedns_request_countRequest CountTotal number of DNS requests made
kube_kubedns_request_duration_seconds_countRequest Duration Seconds CountNumber of requests on which the kubedns.request_duration.seconds.sum metric is evaluated
kube_kubedns_request_duration_seconds_sumRequest Duration Seconds SumsecondsTime taken by each request to resolve
kube_kubedns_response_size_bytes_countResponse Size Bytes CountNumber of responses on which kubedns.response_size.bytes.sum metric is evaluated
kube_kubedns_response_size_bytes_sumResponse Size Bytes SumbytesSize of the returns response