kind: Deployment
apiVersion: apps/v1
metadata:
  name: kubernetes-up-and-running
spec:
  replicas: 2
  selector:
    matchLabels:
      pod: kubernetes-up-and-running
  template:
    metadata:
      labels:
        pod: kubernetes-up-and-running
    spec:
      containers:
      - name: kuar
        image: gcr.io/kuar-demo/kuard-amd64:1
        ports:
        - name: http
          containerPort: 8080
        livenessProbe:
          httpGet:
            port: http
            path: /healthy
        readinessProbe:
          httpGet:
            port: http
            path: /ready