Run a test
Tests run once and store the result in the CR status. NPP provides four test types:
PingTest— one-shot ICMP ping testDownloadTest— one-shot download throughput testMTRTest— one-shot MTR traceroute testSpeedtestTest— one-shot Ookla speedtestOpens in a new tab
Prerequisites
- NPP installed on the Core Cluster
kubectl
Steps
Create a namespace for your probe:
bashDeploy the target application:
bashCreate a CR manifest for your test. See the Technical Reference for a configuration example:
Apply the CR to the cluster:
bash
Verification
Run the following command to check the status of your tests:
When a test is complete, the output shows True in the CONFIGURED, DEPLOYED, and READY columns:
Read results
Test results are stored in the status.output field of the CR in Prometheus metrics format.
For a PingTest:
For a DownloadTest:
For an MTRTest:
For a SpeedtestTest:
Re-run a test
To run a test again, delete the CR and reapply the manifest:
For a PingTest:
For a DownloadTest:
For an MTRTest:
For a SpeedtestTest: