Add liveness probes to Guacamole containers

This commit is contained in:
Danny Bessems 2025-02-18 17:18:06 +11:00
parent b0b7e5d102
commit 6432c07eb3

View File

@ -35,6 +35,12 @@ spec:
ports:
- name: ui
containerPort: 8080
livenessProbe:
httpGet:
port: ui
path: /
initialDelaySeconds: 10
periodSeconds: 5
- name: guacd
image: guacamole/guacd:1.5.5
env:
@ -43,6 +49,11 @@ spec:
ports:
- name: proxy
containerPort: 4822
livenessProbe:
tcpSocket:
port: 4822
initialDelaySeconds: 10
periodSeconds: 5
- name: db
image: postgres:16-alpine
securityContext:
@ -60,6 +71,11 @@ spec:
ports:
- name: db
containerPort: 5432
livenessProbe:
exec:
command: ["pg_isready" ,"-U" ,"$POSTGRES_USER", "-d" ,"$POSTGRES_DATABASE"]
initialDelaySeconds: 10
timeoutSeconds: 5
volumes:
- name: flexvolsmb-guacamole-db
persistentVolumeClaim: