Cheat Sheet Kubernetes
Cheat Sheet Kubernetes
Running pods kube_pod_status_phase kubectl get pods Containers running on a pod kube_pod_container_info kubectl describe pod <POD_NAME>
Number of pods desired for a Containers restarted on a pod kube_pod_container_status_restarts_total kubectl describe pod <POD_NAME>
kube_deployment_spec_replicas kubectl get deployment <DEPLOYMENT>
Deployment
Containers terminated on a pod kube_pod_container_status_terminated kubectl describe pod <POD_NAME>
Number of pods desired for a
kube_daemonset_status_desired_number_scheduled kubectl get daemonset <DAEMONSET>
DaemonSet
Number of pods currently running
in a Deployment
kube_deployment_status_replicas kubectl get deployment <DEPLOYMENT> Disk I/O & Network metrics
Number of pods currently running DESCRIPTION PROMETHEUS METRIC NAME COMMAND
kube_daemonset_status_current_number_scheduled kubectl get daemonset <DAEMONSET>
in a DaemonSet kubectl get --raw /api/v1/nodes/<NODE_
Network in per node container_network_receive_bytes_total
Number of pods currently NAME>/proxy/metrics/cadvisor
kube_deployment_status_replicas_available kubectl get deployment <DEPLOYMENT>
available in a Deployment kubectl get --raw /api/v1/nodes/<NODE_
Network out per node container_network_transmit_bytes_total
Number of pods currently NAME>/proxy/metrics/cadvisor
kube_daemonset_status_number_available kubectl get daemonset <DAEMONSET>
available in a DaemonSet kubectl get --raw /api/v1/nodes/<NODE_
Disk writes per node container_fs_writes_bytes_total
Number of pods currently not NAME>/proxy/metrics/cadvisor
kube_deployment_status_replicas_unavailable kubectl get deployment <DEPLOYMENT>
available in a Deployment kubectl get --raw /api/v1/nodes/<NODE_
Disk reads per node container_fs_reads_bytes_total
NAME>/proxy/metrics/cadvisor
Number of pods currently not
kube_daemonset_status_number_unavailable kubectl get daemonset <DAEMONSET>
available in a DaemonSet container_network_receive_errors_total, kubectl get --raw /api/v1/nodes/<NODE_
Network errors per node
container_network_transmit_errors_total NAME>/proxy/metrics/cadvisor
3. Job metrics
METRIC DESCRIPTION DATADOG METRIC NAME
4. Service metrics
METRIC DESCRIPTION DATADOG METRIC NAME
5. Container metrics
METRIC DESCRIPTION DATADOG METRIC NAME
Containers running on a pod kubernetes_state.container.running
7. Events
Kubernetes events will appear in the Datadog Events Explorer and in event widgets on dashboards
Best-In-Class Kubernetes
Monitoring and Security
Start your free trial today and get real-time visibility into the health and
performance of your Kubernetes environment - all in a matter of minutes.