Skip to content

Commit 19850db

Browse files
authored
Include basic liveness & readiness probes
Include a HTTPS request to the root path (/) that returns a 200 OK and does not require a token to be requested. patch from WhatsApp#48
1 parent 86e8e18 commit 19850db

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

installation/kubernetes/webapp.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,20 @@ spec:
9393
key: wa-db-password
9494
- name: WA_WEB_SERVERNAME
9595
value: 'whatsapp-web-service'
96+
livenessProbe:
97+
httpGet:
98+
path: /
99+
port: web
100+
scheme: HTTPS
101+
initialDelaySeconds: 30
102+
timeoutSeconds: 10
103+
readinessProbe:
104+
httpGet:
105+
path: /
106+
port: web
107+
scheme: HTTPS
108+
initialDelaySeconds: 30
109+
timeoutSeconds: 10
96110
volumeMounts:
97111
- name: whatsapp-media
98112
mountPath: /usr/local/wamedia

0 commit comments

Comments
 (0)