better deploy
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
This commit is contained in:
26
k8s/app.yaml
26
k8s/app.yaml
@@ -31,12 +31,30 @@ spec:
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
env:
|
||||
# Kubernetes DNS: "service-name:port"
|
||||
# Da wir im selben Namespace sind, reicht "redis:6379"
|
||||
- name: REDIS_ADDR
|
||||
value: "redis:6379"
|
||||
# Admin Zugangsdaten (werden von CI injected oder hier fest)
|
||||
- name: ADMIN_USER
|
||||
value: "${ADMIN_USER}"
|
||||
- name: ADMIN_PASS
|
||||
value: "${ADMIN_PASS}"
|
||||
value: "${ADMIN_PASS}"
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
cpu: "500m"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
Reference in New Issue
Block a user