fix: add arg and probes to deployment (#605)

* feat: separate setup from startup

* health

* move setup config

* add env vars to caos_local.sh

* fix domain and set devMode explicit

* fix: add arg and probes to deployment

* fix setup.yaml

* domain validation
This commit is contained in:
Livio Amstutz
2020-08-18 14:22:53 +02:00
committed by GitHub
parent 8830896199
commit 4e74050039
3 changed files with 28 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ spec:
- name: zitadel
image: docker.pkg.github.com/caos/zitadel/zitadel:latest
imagePullPolicy: IfNotPresent
args: []
args: ["start"]
ports:
- name: grpc
containerPort: 50001
@@ -28,6 +28,18 @@ spec:
containerPort: 50002
- name: ui
containerPort: 50003
readinessProbe:
httpGet:
path: /ready
port: http
periodSeconds: 5
failureThreshold: 2
livenessProbe:
httpGet:
path: /healthz
port: http
periodSeconds: 5
failureThreshold: 2
env:
- name: POD_IP
valueFrom: