Installation
Network Performance Probe (NPP) is installed as a regular Helm chart. Follow the instructions to install NPP on your Kubernetes cluster.
Prerequisites
- Kubernetes cluster v1.23+ (oldest supported version)
- Credentials to the chart repository that contains the NPP chart
- Credentials to the image registry that contains the NPP container image
- Helm v3+
- kubectl
Steps
Create a namespace for NPP:
bashLog in to the chart registry:
bashCreate the
values.yamlOpens in a new tab file with the overrides you want to apply. You can see the list of all parameters you can customise in the chart documentation. There are two required overrides: image.repository and imagePullSecrets. You need to provide them to download images from the customer registry. Thevalues.yamlfile with overrides is required in step 6 of this installation guide.Prepare credentials to the container registry that contains NPP images, and create a YAML file with the Kubernetes imagePullSecretOpens in a new tab. The name of the YAML file must match the imagePullSecrets[0].name parameter from the
values.yamlfile. Run this command to create the imagePullSecret:bashInstall the NPP CRDs chart using this command:
bashInstall the NPP chart using this command:
bashTo run NPP on the OpenShift cluster, you must update the security context:
bash-
$PROBE_NAMESPACE is the namespace of the probe, for example the DownloadMonitor.
-
$SERVICE_ACCOUNT_NAME is the name of the service account provided to probe by the spec.serviceAccountName parameter. If it's not set, the service account with the name default is used.
-
Enable Grafana dashboards
By default, Grafana dashboards are not installed as part of the NPP package. However, you can enable the installation of the GrafanaDashboard CRs by setting the dashboards.enabled parameter to true in the values.yamlOpens in a new tab file with the overrides. You can customise Grafana configuration parameters in the dashboards section. For more information, read the chart documentation.
Run this command to upgrade your Cennso release after preparing Grafana dashboards configuration:
Enable Prometheus monitors
By default, Prometheus monitors are not installed as part of the NPP package. However, you can enable the installation of the monitor CRs by setting the prometheus.monitor.enabled parameter to true in the values.yamlOpens in a new tab file with the overrides. Make sure that Prometheus OperatorOpens in a new tab is installed on the cluster. You can customise ServiceMonitor configuration parameters in the prometheus.servicemonitor section. For more information, read the chart documentation.
Run this command to upgrade your Cennso release after preparing the ServiceMonitor configuration:
Verification
Run this command to check if NPP pods are up and running:
If the deployment is successful, NPP pods are in the Running state.