mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +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:
parent
fc672c9adc
commit
3e52beaf89
@ -12,29 +12,35 @@ For running an easily testable, insecure, non-HA ZITADEL instance, run the follo
|
|||||||
|
|
||||||
## Helm
|
## Helm
|
||||||
|
|
||||||
### Add the helm repository
|
### Add the helm repositories for CockroachDB and ZITADEL
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
helm repo add cockroachdb https://charts.cockroachdb.com/
|
||||||
helm repo add zitadel https://charts.zitadel.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
|
```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.masterkey="MasterkeyNeedsToHave32Characters" \
|
||||||
--set zitadel.configmapConfig.ExternalSecure=false \
|
--set zitadel.configmapConfig.ExternalSecure=false \
|
||||||
--set zitadel.configmapConfig.TLS.Enabled=false \
|
--set zitadel.configmapConfig.TLS.Enabled=false \
|
||||||
--set zitadel.secretConfig.Database.cockroach.User.Password="a-zitadel-db-user-password" \
|
--set zitadel.secretConfig.Database.cockroach.User.Password="a-zitadel-db-user-password" \
|
||||||
--set replicaCount=1 \
|
--set replicaCount=1
|
||||||
--set cockroachdb.single-node=true \
|
|
||||||
--set cockroachdb.statefulset.replicas=1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Forward the ZITADEL service port to your local machine
|
### Forward the ZITADEL service port to your local machine
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl -n zitadel port-forward svc/my-zitadel 8080:8080
|
kubectl port-forward svc/my-zitadel 8080:8080
|
||||||
```
|
```
|
||||||
|
|
||||||
<DefaultUser components={props.components} />
|
<DefaultUser components={props.components} />
|
||||||
|
Loading…
Reference in New Issue
Block a user