> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/npp/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/npp/latest/npp-chart-configuration.generated.md).

# Network Performance Probe chart configuration

Network Performance Probe (NPP) chart installs Network Performance Probe Operator and provides you with parameters you can use to configure the application.

| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | `{}` | Parameter that assigns custom affinity rules to the NPP Operator. For more information, read the official [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/). |
| annotations | object | `{}` | Additional annotations for all resources except for the Deployment's Pods. For specific Ingress resource annotations, look at **ingress.annotations**. |
| configuration.initProbeImageOverride | object | `{"repository":"registry.cennso.com/cennso-dev/npp-probe-init-crictl","tag":""}` | Override for the default container image of init probes used by Custom Resources in the npp.cennso.com API group. Those resources also expose a way to override this image in the `spec` field. |
| configuration.initProbeImageOverride.repository | string | `"registry.cennso.com/cennso-dev/npp-probe-init-crictl"` | Repository where the init probe image is stored. |
| configuration.initProbeImageOverride.tag | string | `""` | Overrides the image tag, which defaults to the chart appVersion. |
| configuration.metricsProxyImageOverride | object | `{"repository":"registry.cennso.com/cennso-dev/npp-probe-metrics-sidecar","tag":""}` | Override for the default container image of metrics proxy used by DownloadMonitor, PingMonitor, and MTRMonitor Custom Resources. Those resources also expose a way to override this image in the `spec` field. |
| configuration.metricsProxyImageOverride.repository | string | `"registry.cennso.com/cennso-dev/npp-probe-metrics-sidecar"` | Repository where the metrics proxy is stored. |
| configuration.metricsProxyImageOverride.tag | string | `""` | Overrides the image tag, which defaults to the chart appVersion. |
| configuration.probeImageOverride | object | `{"repository":"registry.cennso.com/cennso-dev/npp-probe","tag":""}` | Override for the default container image of probes used by Custom Resources in the npp.cennso.com API group. Those resources also expose a way to override this image in the `spec` field. |
| configuration.probeImageOverride.repository | string | `"registry.cennso.com/cennso-dev/npp-probe"` | Repository where the probe image is stored. |
| configuration.probeImageOverride.tag | string | `""` | Overrides the image tag, which defaults to the chart appVersion. |
| container.mountType | string | `"socket"` | Type of mount, either `socket` or `directory`. |
| container.runtime | string | `"/run/k0s/containerd.sock"` | Socket path of the container runtime used by probes. Common values: `/run/k0s/containerd.sock`, `/run/containerd/containerd.sock`, `/var/run/crio/crio.sock`, `/var/run/docker.sock`. |
| envs | list | `[]` | Custom environment variables to be set for Network Performance Probe Operator container. Sample value: `[{"name":"APP_EXAMPLE_NAME","value":"APP_EXAMPLE_VALUE"},{"name":"SECRET_USERNAME","valueFrom":{"secretKeyRef":{"name":"mysecret","key":"username","optional":false}}}]` |
| image.pullPolicy | string | `"IfNotPresent"` | Image Pull Policy of Network Performance Probe Operator's Pod. The possible values are: "Always", "IfNotPresent", and "Never". |
| image.repository | string | `"registry.cennso.com/cennso-dev/npp-operator"` | Repository where the Network Performance Probe Operator image is stored. |
| image.tag | string | `""` | Overrides the image tag, which defaults to the chart appVersion. |
| imagePullSecrets | list | `[]` | ImagePullSecrets that will be used for pulling the images. Sample value: `[{name: "cennso-pull-secret"}]`. |
| labels | object | `{}` | Additional labels for all resources except for the Deployment's Pods. |
| logger.encoder | string | `"json"` | Log format. The possible formats are `console` and `json`. |
| logger.klogLevel | int | `0` | Verbosity of klog, which is an internal logger used by Kubernetes libraries. Default setting of '0' disables it. |
| logger.level | string | `"info"` | Log level of the logger. The possible values are `debug`, `info`, `warning`, `error`, `panic`, and `fatal`. |
| metricsPort | int | `8081` | Port used to expose `/metrics` endpoint, which exposes metrics in Prometheus compatible format |
| nodeSelector | object | `{}` | Parameter that selects nodes the Network Performance Probe Operator should run. For more information about nodeSelectors, read the official [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector/). |
| podAnnotations | object | `{}` | Additional annotations for Pods. |
| podLabels | object | `{}` | Additional labels only for Pods. |
| podSecurityContext | object | `{"runAsNonRoot":true}` | Security context for a Pod. For more information, read the official [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/). |
| probesPort | int | `8080` | Port used to expose health checks |
| prometheus.monitor.additionalLabels | object | `{}` | Additional labels added to the monitors Custom Resources. |
| prometheus.monitor.enabled | bool | `false` | If set to `true`, Prometheus ServiceMonitor and PodMonitor is installed for selected NPP and its probes. |
| prometheus.monitor.namespace | string | `""` | Name of the namespace in the case that monitors should be installed into a namespace other than the NPP chart. |
| prometheus.monitor.namespaceSelector | object | `{"any":true,"matchNames":[]}` | Selector to select from which namespaces the Kubernetes Endpoints objects are discovered. If `any` is true, it takes precedence over `matchNames`. If `matchNames` is empty and `any` is `false`, the objects are selected from the current namespace. |
| replicaCount | int | `1` | Number of replicated Network Performance Probe Operator Pods. Setting it to value > 1 enables leader election mechanism. |
| resources | object | `{"cpu":"100m","memory":"128Mi"}` | Kubernetes resource fields set for both `requests` and `limits` |
| revisionHistoryLimit | int | `10` | The number of old ReplicaSets to retain to allow rollback. |
| securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":true}` | Security context for the Network Performance Probe Operator container. |
| tolerations | list | `[]` | Kubernetes tolerations. For more information, read the official [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). |
