Create 5-2

This commit is contained in:
Brendan Burns 2017-08-19 21:31:26 -07:00 committed by GitHub
parent 12e43742bb
commit 69524f421c

20
5-2-kuard-pod-health.yaml Normal file
View File

@ -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