From cfd6ec28fe17cde2b0f8087a1cdbe8be0d8005df Mon Sep 17 00:00:00 2001 From: Ben Poh Date: Fri, 25 Nov 2022 15:04:19 +1100 Subject: [PATCH] feat: update varnish image version Signed-off-by: Ben Poh --- simple-example/varnish/varnish-deployment.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/simple-example/varnish/varnish-deployment.yaml b/simple-example/varnish/varnish-deployment.yaml index c5b493b..d7bf2e5 100644 --- a/simple-example/varnish/varnish-deployment.yaml +++ b/simple-example/varnish/varnish-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: varnishd - image: sectionio/varnish-cache-kei:alpha + image: sectionio/varnish-cache-kei:1.0.1 imagePullPolicy: Always args: - -p @@ -51,6 +51,22 @@ spec: - name: vcl mountPath: /etc/varnish/ readOnly: true + livenessProbe: + tcpSocket: + port: 80 + initialDelaySeconds: 30 + timeoutSeconds: 10 + periodSeconds: 5 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + tcpSocket: + port: 80 + initialDelaySeconds: 30 + timeoutSeconds: 10 + periodSeconds: 5 + successThreshold: 1 + failureThreshold: 3 volumes: - name: vcl configMap: