# How to Deploy a Connector with the K8s Helm Chart

## Overview

The Twingate Helm Chart allows you to deploy Twingate Connectors to a Kubernetes cluster, including Google GKE, Amazon EKS, MicroK8s and anywhere else a Helm Chart is supported. The chart will bootstrap a Twingate Connector in your K8s cluster.

The [official Helm Chart](https://github.com/Twingate/helm-charts) can be found on GitHub.

[Peer-to-peer connections](/content/docs/peer-to-peer-communication-in-twingate/index.html) help you to provide a better experience for your users and to stay within the [Fair Use Policy](/content/terms/sa/index.html) for bandwidth consumption. Learn how to [support peer-to-peer connections](/content/docs/troubleshooting-p2p/index.html).

## Installing the Chart

To install the chart with the release name `twingate-connector`:

```text
$ helm repo add twingate https://twingate.github.io/helm-charts
$ helm upgrade --install twingate-connector twingate/connector -n [namespace] \
    --set connector.network=[network] \
    --set connector.accessToken=[accessToken] \
    --set connector.refreshToken=[refreshToken]
```

These commands will deploy Twingate on the Kubernetes cluster in the default configuration. The [Parameters section](https://github.com/Twingate/helm-charts/blob/master/stable/connector/README.md#parameters) of the chart’s documentation lists the parameters that can be configured during installation.

## Uninstalling the Chart

To uninstall/delete the `twingate-connector` deployment:

```text
$ helm del twingate-connector -n [namespace]
```

The command removes all the Kubernetes components associated with the chart and deletes the release.

## Updates

Follow the [Helm Chart updating guide](/content/docs/k8s-helm-chart-upgrades/index.html) to update both the Helm Chart and the Connectors. Note that updating the Helm chart itself does not update the Connector images used to deploy pods.
