> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/upg/2.16/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/upg/2.16/installation/deploy.md).

# Installation

User Plane Gateway (UPG) is installed using a set of Helm charts that you can install from an [OCI registry](https://helm.sh/docs/topics/registries/). Run these commands to install UPG:

```bash
helm registry login {REGISTRY_NAME} -u {USERNAME} --password-stdin
helm install {COMPONENT_NAME} oci://{REGISTRY_NAME}/charts/{CHART_NAME} --version {VERSION} -f values.yaml -n {NAMESPACE}
```

- **{CHART_NAME}** specifies the chart to deploy: `fpp-crd`, `upg-crd`, `upg-support`, or `upg`.

The Helm charts must be deployed in a specific order:

1. Deploy the `fpp-crd` chart. It provides VPPInterface and other Fast Path Provider (FPP) Custom Resources (CRs) that are crucial for configuration. No additional configuration is needed, and you only need to deploy it once per cluster.
1. Deploy the `upg-crd` chart. It provides UPG-specific CRs required for UPG to work. No additional configuration is needed, and it should also be deployed once per cluster. These CRs are shared across all UPG deployments in the cluster.
1. Deploy the `upg-support` chart. It provides the Prometheus ServiceMonitor and the `UPG Overview` Grafana dashboard. Install the `UPG Overview` dashboard once per cluster to gather metrics from multiple UPG instances. Installing it more than once may cause the Grafana Operator to change its ownership and location. Here's the configuration example for this chart:

   ```yaml
   dashboard:
     enabled: true
     prometheusDatasourceName: "Prometheus"

   prometheus:
     servicemonitor:
       enabled: true
   ```

   To deploy `upg-support` without the `UPG Overview` dashboard, set **dashboard.enabled** to `false` in chart's `values.yaml` file. For more details, see the [UPG Support chart documentation](https://docs.cennso.com/components/upg/2.16/installation/support-chart-configuration.generated.md).

1. Deploy the `upg` chart. It deploys UPG with the proper configuration and can be installed multiple times in the same cluster. Here are the configuration examples for this chart:

   - [PGW example `values.yaml`](https://docs.cennso.com/api/assets/components/upg/2.16/assets/example-config/pb-routing-values.yaml)
   - [TDF example `values.yaml`](https://docs.cennso.com/api/assets/components/upg/2.16/assets/example-config/tdf-values.yaml)

   For more information about configurable parameters, read the [UPG chart configuration](https://docs.cennso.com/components/upg/2.16/installation/chart-configuration.generated.md) document.
