> For the complete documentation index, see [llms.txt](https://docs.tangramapps.com/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tangramapps.com/en/install/start-with-kubernetes.md).

# Start with Kubernetes

{% hint style="info" %}
The example uses microk8s, and other Kubernetes are also feasible.
{% endhint %}

### Stop firewall

```sh
systemctl stop firewalld
systemctl disable firewalld
```

### Install Snap

```sh
sudo yum install -y epel-release
sudo yum install -y snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
```

### Install Microk8s

```sh
sudo snap install microk8s --classic --channel=1.27/stable
microk8s status --wait-ready

#Exit and relogin to the terminal again
#The user used in the example is called tangram
sudo usermod -a -G microk8s tangram
sudo chown -f -R tangram ~/.kube
```

### Enable Addons

```shell
#Relogin the terminal again
microk8s enable helm3 dns ingress
```

### Install Tangram Helm Charts

```sh
microk8s helm3 install test tangram/
```

### Config Hosts

The local environment needs to have the hosts file configured to point to the Ingress domain.

```textile
# tangram
x.x.x.x backend.tangramapps.com
x.x.x.x demo.tangramapps.com
```

{% hint style="info" %}
In a cloud-based environment, you can configure the Ingress to use a private domain and perform DNS resolution.
{% endhint %}
