# This is a simple example of running a single POD with a livness check
#
# the image is provided by the team that wrote Kubernetes Up and Running
# Checkout https://github.com/kubernetes-up-and-running/kuard
# Also, PICK UP THE BOOK!

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

        