Added liveness probe
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m57s

This commit is contained in:
2025-04-21 02:45:29 +02:00
parent f0bf60c78a
commit e9673211c1
4 changed files with 105 additions and 4 deletions

View File

@@ -35,6 +35,8 @@ spec:
containerPort: 2222
- name: http
containerPort: 3000
- name: metrics
containerPort: 4000
volumeMounts:
- name: credentials
readOnly: true
@@ -59,6 +61,12 @@ spec:
value: /secrets/credentials/password
- name: PRIVATE_KEY_FILE
value: /secrets/key/private.pem
livenessProbe:
httpGet:
path: /health
port: metrics
initialDelaySeconds: 3
periodSeconds: 3
volumes:
- name: credentials
secret: