mirror of
				https://github.com/zitadel/zitadel.git
				synced 2025-11-04 05:12:32 +00:00 
			
		
		
		
	docs: install crdb chart separately (#4849)
* docs: install crdb chart separately * Update kubernetes.mdx * Update kubernetes.mdx Co-authored-by: Florian Forster <florian@zitadel.com>
This commit is contained in:
		@@ -12,29 +12,35 @@ For running an easily testable, insecure, non-HA ZITADEL instance, run the follo
 | 
			
		||||
 | 
			
		||||
## Helm
 | 
			
		||||
 | 
			
		||||
### Add the helm repository
 | 
			
		||||
### Add the helm repositories for CockroachDB and ZITADEL
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
helm repo add cockroachdb https://charts.cockroachdb.com/
 | 
			
		||||
helm repo add zitadel https://charts.zitadel.com
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Install an insecure zitadel release that works with localhost
 | 
			
		||||
### Install an insecure cockroachdb and zitadel release that works with localhost
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
helm install --namespace zitadel --create-namespace my-zitadel zitadel/zitadel \
 | 
			
		||||
# CockroachDB
 | 
			
		||||
helm install crdb cockroachdb/cockroachdb \
 | 
			
		||||
  --set fullnameOverride=crdb \
 | 
			
		||||
  --set single-node=true \
 | 
			
		||||
  --set statefulset.replicas=1
 | 
			
		||||
 | 
			
		||||
# ZITADEL
 | 
			
		||||
helm install my-zitadel zitadel/zitadel \
 | 
			
		||||
  --set zitadel.masterkey="MasterkeyNeedsToHave32Characters" \
 | 
			
		||||
  --set zitadel.configmapConfig.ExternalSecure=false \
 | 
			
		||||
  --set zitadel.configmapConfig.TLS.Enabled=false \
 | 
			
		||||
  --set zitadel.secretConfig.Database.cockroach.User.Password="a-zitadel-db-user-password" \
 | 
			
		||||
  --set replicaCount=1 \
 | 
			
		||||
  --set cockroachdb.single-node=true \
 | 
			
		||||
  --set cockroachdb.statefulset.replicas=1
 | 
			
		||||
  --set replicaCount=1
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Forward the ZITADEL service port to your local machine
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
kubectl -n zitadel port-forward svc/my-zitadel 8080:8080
 | 
			
		||||
kubectl port-forward svc/my-zitadel 8080:8080
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
<DefaultUser components={props.components} />
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user