comparison deploy.yaml @ 3:0cc41259fddd

healthcheck
author drewp@bigasterisk.com
date Sun, 10 Dec 2023 17:26:52 -0800
parents 3989f073ed9e
children 759f0ba7d345
comparison
equal deleted inserted replaced
2:b7b6d7f1ce56 3:0cc41259fddd
22 image: docker.io/nginx:1.21.6 22 image: docker.io/nginx:1.21.6
23 ports: 23 ports:
24 - containerPort: 80 24 - containerPort: 80
25 volumeMounts: 25 volumeMounts:
26 - { name: nginx-conf, mountPath: "/etc/nginx/" } 26 - { name: nginx-conf, mountPath: "/etc/nginx/" }
27 livenessProbe:
28 httpGet:
29 path: /health
30 port: 80
27 - name: pi-mqtt-vite 31 - name: pi-mqtt-vite
28 image: reg:5000/pi_mqtt_image 32 image: reg:5000/pi_mqtt_image
29 ports: 33 ports:
30 - containerPort: 8002 34 - containerPort: 8002
31 command: 35 command: