Files
zitadel/docs/docs/guides/deploy/kubernetes.mdx
T

43 lines
1.3 KiB
Plaintext

---
title: Kubernetes
---
import Disclaimer from './_disclaimer.mdx'
import DefaultUser from './_defaultuser.mdx'
import Next from './_next.mdx'
Installation and configuration details are described in the [open source ZITADEL charts repo](https://github.com/zitadel/zitadel-charts).
By default, the chart installs a secure and highly available ZITADEL instance.
For running an easily testable, insecure, non-HA ZITADEL instance, run the following commands.
## Helm
### Add the helm repository
```bash
helm repo add zitadel https://charts.zitadel.com
```
### Install an insecure zitadel release that works with localhost
```bash
helm install --namespace zitadel --create-namespace my-zitadel zitadel/zitadel \
--set zitadel.masterkey="MasterkeyNeedsToHave32Characters" \
--set zitadel.configmapConfig.ExternalDomain="localhost" \
--set zitadel.configmapConfig.ExternalSecure=false \
--set zitadel.secretConfig.Database.User.Password="a-zitadel-db-user-password"
--set replicaCount=1 \
--set cockroachdb.single-node=true \
--set cockroachdb.statefulset.replicas=1
```
### Forward the ZITADEL service port to your local machine
```bash
kubectl -n zitadel port-forward svc/my-zitadel 8080:8080
```
<DefaultUser components={props.components} />
<Next components={props.components} />
<Disclaimer components={props.components} />