> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/cdf/4.2/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/cdf/4.2/configuration/support.md).

# CDF Support chart

The CDF Support chart provides tools to monitor CDF instances and includes Kubernetes
resources that are useful and, in some cases, required for operating CDF:

- **Metrics and Grafana dashboard** - The chart includes configuration settings for
  managing CDF runtime [metrics](https://docs.cennso.com/components/cdf/4.2/observability/metrics.md), which are relevant for
  monitoring operations. A pre-configured [Grafana dashboard](https://docs.cennso.com/components/cdf/4.2/observability/dashboard.md)
  is also provided to visualize these metrics. You can configure the dashboard using the
  **dashboard.** settings. To enable Prometheus to scrape these metrics, deploy and
  configure a ServiceMonitor resource in Kubernetes using the **prometheus.servicemonitor.**
  settings.
- **NATS dependency** - CDF requires a [NATS deployment](https://github.com/nats-io/k8s/tree/main/helm/charts/nats#nats-server)
  as a dependency. You can deploy it directly from the CDF Support chart, with
  the related settings prefixed by **nats**.

## Configuration

The following table lists the configurable parameters of the CDF Support chart and their default values.

| Key | Type | Default | Description |
|---|---|---|---|
| annotations | object | `{}` | Annotations that are present on each resource. |
| dashboard.additionalDataSources | list | `[]` | |
| dashboard.additionalPlugins | list | `[]` | |
| dashboard.enabled | bool | `false` | Parameter that installs the dashboard. |
| dashboard.grafanaPiechartPanelVersion | string | `""` | |
| dashboard.prometheusDatasourceName | string | `""` | |
| fullnameOverride | string | `""` | Fullname override for the resources. |
| labels | object | `{}` | Labels that are present on each resource. |
| nameOverride | string | `""` | Name override for the chart. |
| nats.config.jetstream.enabled | bool | `true` | Enables JetStream. |
| nats.config.jetstream.fileStore.pvc.enabled | bool | `true` | Enables JetStream PVC in NATS StatefulSet. |
| nats.config.jetstream.fileStore.pvc.size | string | `nil` | Defines the size of new persistent volume. Must be big enough for streams, consumers and buckets. |
| nats.enabled | bool | `false` | Installs NATS. |
| prometheus.servicemonitor.enabled | bool | `false` | Parameter that installs the Prometheus ServiceMonitor. |
| prometheus.servicemonitor.metricRelabelings | list | `[]` | Metrics relabelings configuration |
| prometheus.servicemonitor.namespace | string | `""` | Parameter that installs the ServiceMonitor in the given namespace. If not set, the chart namespace is used. |
| prometheus.servicemonitor.namespaceSelector | object | `{"any":true}` | Parameter that filters the namespaces of the monitored services. |
| prometheus.servicemonitor.relabelings | list | `[{"sourceLabels":["__meta_kubernetes_pod_label_cennso_net_cnf"],"targetLabel":"cnf"},{"sourceLabels":["__meta_kubernetes_pod_label_instance"],"targetLabel":"ka_instance"}]` | Relabelings configuration |
| prometheus.servicemonitor.selector | object | `{"matchLabels":{"cennso.net/cnf":"cdf"}}` | Parameter that filters services to monitor. |
