Added liveness probe
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m57s
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m57s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user