Ping Test
PingTest Custom Resource (CR) deploys a probe that runs a single ping test within a cluster. The probe is injected into a selected pod, sends ping requests to specified targets once, and stores the results in the CR status.output field in Prometheus exposition format.
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.
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 it per target.
Source selection
Each configuration binds its probes to a source. Set exactly one of the following fields:
source— a fixed bind address, for example0.0.0.0to 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 at run time, so it follows dynamic addresses such as User Equipment (UE) IP addresses.
Timeout
The timeout field sets the maximum duration for each ping request. Durations are specified with a unit suffix, for example 30s, 5m, or 1h.
Read more
For all available parameters, see PingTest Custom Resource Definition.
To run a test and read results, see Run a test.