Get metrics from kubernetes_state service in real time to:
- Visualize and monitor kubernetes_state states
- Be notified about kubernetes_state failovers and events.
The Kubernetes-State check is included in the Datadog Agent package, so you don't need to install anything else on your Kubernetes servers.
Edit the kubernetes_state.d/conf.yaml
file, in the conf.d/
folder at the root of your Agent's configuration directory, to point to your server and port, set the masters to monitor. See the sample kubernetes_state.d/conf.yaml for all available configuration options.
Run the Agent's status
subcommand and look for kubernetes_state
under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
The Kubernetes-state check does not include any events at this time.
kubernetes_state.node.ready
Returns CRITICAL
if a cluster node is not ready.
Returns OK
otherwise.
kubernetes_state.node.out_of_disk
Returns CRITICAL
if a cluster node is out of disk space.
Returns OK
otherwise.
kubernetes_state.node.disk_pressure
Returns CRITICAL
if a cluster node is in a disk pressure state.
Returns OK
otherwise.
kubernetes_state.node.memory_pressure
Returns CRITICAL
if a cluster node is in a memory pressure state.
Returns OK
otherwise.
kubernetes_state.node.network_unavailable
Returns CRITICAL
if a cluster node is in a network unavailable state.
Returns OK
otherwise.
kubernetes_state.pod.phase
Returns CRITICAL
if the pod is in phase Failed
, WARNING
if it is Pending
, UNKNOWN
if it is Unknown
or OK
otherwise.
Need help? Contact Datadog Support.