apiVersion: apps/v1
kind: Deployment
metadata:
    name: bandicoot-prod
    labels:
        app: bandicoot
        version: 1.0.0
        env: prod
spec:
    replicas: 3
    selector:
        matchLabels:
            app: bandicoot
    template:
        metadata:
            labels:
                app: bandicoot
        spec:
            containers:
                - image: gcr.io/k8s-vr-2021/kuard-amd64:blue
                  name: bandicoot-prod
                  ports:
                      - containerPort: 8080
                        name: http
                        protocol: TCP
                  readinessProbe:
                      httpGet:
                          path: /ready
                          port: 8080
                      periodSeconds: 2
                      initialDelaySeconds: 0
                      failureThreshold: 3
                      successThreshold: 1
