With probes

This commit is contained in:
Kasper Juul Hermansen 2022-05-09 10:32:30 +02:00
parent 040874618b
commit a00bba6e80
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

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