From 69524f421cd70ea65dfc6c6e82439d246250ebc8 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Sat, 19 Aug 2017 21:31:26 -0700 Subject: [PATCH] Create 5-2 --- 5-2-kuard-pod-health.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 5-2-kuard-pod-health.yaml diff --git a/5-2-kuard-pod-health.yaml b/5-2-kuard-pod-health.yaml new file mode 100644 index 0000000..f85c949 --- /dev/null +++ b/5-2-kuard-pod-health.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Pod +metadata: + name: kuard +spec: + containers: + - image: gcr.io/kuar-demo/kuard-amd64:1 + name: kuard + livenessProbe: + httpGet: + path: /healthy + port: 8080 + initialDelaySeconds: 5 + timeoutSeconds: 1 + periodSeconds: 10 + failureThreshold: 3 + ports: + - containerPort: 8080 + name: http + protocol: TCP