Mercurial > code > home > repos > pi_mqtt
diff deploy.yaml @ 3:0cc41259fddd
healthcheck
author | drewp@bigasterisk.com |
---|---|
date | Sun, 10 Dec 2023 17:26:52 -0800 |
parents | 3989f073ed9e |
children | 759f0ba7d345 |
line wrap: on
line diff
--- a/deploy.yaml Fri Sep 01 23:58:24 2023 -0700 +++ b/deploy.yaml Sun Dec 10 17:26:52 2023 -0800 @@ -24,6 +24,10 @@ - containerPort: 80 volumeMounts: - { name: nginx-conf, mountPath: "/etc/nginx/" } + livenessProbe: + httpGet: + path: /health + port: 80 - name: pi-mqtt-vite image: reg:5000/pi_mqtt_image ports: