For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Ping Monitor

PingMonitor Custom Resource (CR) deploys a probe for continuous ping testing within a cluster. The probe is injected into a selected pod where it periodically sends ping requests to specified targets and exposes the results as Prometheus metrics on port 9100.

Pod selection

The podSelector field controls which pod the probe is injected into. Use label selectors to target a specific pod. The container field optionally pins the probe to a specific container within that pod — if omitted, a random container is used.

yaml

Test configurations

The configurations field defines the list of ping tests to run. Each configuration specifies a source and a list of targets. You can set a nameserver at the configuration level to resolve all targets, and override the interval and timeout per configuration.

yaml

Source selection

Each configuration binds its probes to a source. Set exactly one of the following fields:

  • source — a fixed bind address, for example 0.0.0.0 to use any interface.
  • sourceInterface — the name of a network interface in the target pod's network namespace. The probe resolves the interface's global unicast address on every run, so it follows dynamic addresses such as User Equipment (UE) IP addresses.
yaml

Interval and timeout

The interval field controls how often the probe sends ping requests. The timeout field sets the maximum duration for each request. Both values apply globally to all configurations; you can also override them per configuration. Durations are specified with a unit suffix, for example 30s, 5m, or 1h.

yaml

Read more

For all available parameters, see PingMonitor Custom Resource Definition.

To deploy a monitor and view results, see Deploy a monitor.