Architecture
Network Performance Probe (NPP) is a Cennso extension that measures network performance from the perspective of your workloads. You can define what to measure using eight Custom Resource (CR) types:
PingMonitor,MTRMonitor,DownloadMonitor,SpeedtestMonitor- continuous monitors that run on a schedule and expose results as Prometheus metrics.PingTest,MTRTest,DownloadTest,SpeedtestTest- one-shot tests that run once and write results to the CR status.
NPP runs probes that operate from inside the target pod's Linux network namespace, without running as a sidecar inside the pod or affecting its lifecycle.
Probing mechanism
When you create a probe CR, the NPP Operator locates the target pod using the label selector from the CR spec. It then creates a probe process that enters that pod's Linux network namespace.
From inside the namespace, the probe measures network performance from the same network perspective as the pod. It sends Internet Control Message Protocol (ICMP) packets, opens Transmission Control Protocol (TCP) connections, and measures throughput on the same interfaces and via the same routes the pod uses. Network policies, routing rules, and interface configuration all apply to the probe the same way they apply to the pod.
The probe is independent of the pod's lifecycle. If the pod is replaced, the NPP Operator detects the change and reconciles. It removes the old probe and creates a new one for the replacement pod. If the probe CR is deleted, the NPP Operator removes the probe process. Reconfiguring NPP - for example, adding a probe for a new target - does not interfere with the lifecycle of the targeted pods.
Deployment architecture
NPP runs on Core Clusters alongside the workloads it monitors. The NPP Operator watches for probe CRs on the Core Cluster and manages probe lifecycles there.
Cennso Telemetry Agent, configured for your cluster, scrapes the Prometheus metrics from monitor probes and propagates them to the Management Cluster. The NPP Support Helm chart, installed separately on the Management Cluster, provides Grafana dashboards for visualizing those metrics.
Read more
For more details about each CR, see the concept documents: