Deploy Ping Test
This tutorial describes how to install and configure the Ping Test probe on the Kubernetes cluster. Tests are executed only once and their execution results are stored in their statuses as Prometheus metrics.
Prerequisites
- NPP installed on a Kubernetes cluster
- kubectl
Steps
Create a namespace for your configuration:
bashDeploy the test application where the probe will be injected:
bashCreate a Ping Test manifest and configure it according to your needs. To do so, create a YAML file with the following PingTest CustomResource (CR):
yamlApply the CR to the cluster by running this command:
bash
Verification
Run this command to check if Ping Test is running:
bashIf the deployment is successful, the output shows that it is configured, deployed, and ready:
bashPing statistics are available as Prometheus metrics in the CR status section. Run this command to display them:
bash