With probes

This commit is contained in:
2022-05-09 10:32:30 +02:00
parent 040874618b
commit a00bba6e80

View File

@@ -45,6 +45,18 @@ spec:
image: kasperhermansen/wishlist-2022
ports:
- containerPort: 80
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
timeoutSeconds: 5
---
apiVersion: v1
kind: Service