From a00bba6e8042232f2edd47418de9f41efd3b6bcb Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 9 May 2022 10:32:30 +0200 Subject: [PATCH] With probes --- clank/apps/prod/wishlist/app.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/clank/apps/prod/wishlist/app.yaml b/clank/apps/prod/wishlist/app.yaml index 2b7611e..fbeb72c 100644 --- a/clank/apps/prod/wishlist/app.yaml +++ b/clank/apps/prod/wishlist/app.yaml @@ -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