{
  "metadata": {
    "annotations": {
      "deployment.kubernetes.io/revision": "3",
      "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{},\"labels\":{\"backstage.io/kubernetes-id\":\"dice-roller\"},\"name\":\"dice-roller-canary\",\"namespace\":\"default\"},\"spec\":{\"replicas\":2,\"selector\":{\"matchLabels\":{\"app\":\"dice-roller-canary\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"dice-roller-canary\",\"backstage.io/kubernetes-id\":\"dice-roller\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]},{\"image\":\"nginx:1.14.2\",\"name\":\"side-car\",\"ports\":[{\"containerPort\":81}]},{\"image\":\"nginx:1.14.2\",\"name\":\"other-side-car\",\"ports\":[{\"containerPort\":82}]}]}}}}\n"
    },
    "creationTimestamp": "2020-09-25T09:02:53.000Z",
    "generation": 3,
    "labels": {
      "backstage.io/kubernetes-id": "dice-roller"
    },
    "name": "dice-roller-canary",
    "namespace": "default",
    "resourceVersion": "620480",
    "selfLink": "/apis/apps/v1/namespaces/default/deployments/dice-roller-canary",
    "uid": "0b6ae80f-999b-40e9-b116-ea925f0ed07b"
  },
  "spec": {
    "progressDeadlineSeconds": 600,
    "replicas": 2,
    "revisionHistoryLimit": 10,
    "selector": {
      "matchLabels": {
        "app": "dice-roller-canary"
      }
    },
    "strategy": {
      "rollingUpdate": {
        "maxSurge": "25%",
        "maxUnavailable": "25%"
      },
      "type": "RollingUpdate"
    },
    "template": {
      "metadata": {
        "creationTimestamp": null,
        "labels": {
          "app": "dice-roller-canary",
          "backstage.io/kubernetes-id": "dice-roller"
        }
      },
      "spec": {
        "containers": [
          {
            "image": "nginx:1.14.2",
            "imagePullPolicy": "IfNotPresent",
            "name": "nginx",
            "ports": [
              {
                "containerPort": 80,
                "protocol": "TCP"
              }
            ],
            "resources": {},
            "terminationMessagePath": "/dev/termination-log",
            "terminationMessagePolicy": "File"
          },
          {
            "image": "nginx:1.14.2",
            "imagePullPolicy": "IfNotPresent",
            "name": "side-car",
            "ports": [
              {
                "containerPort": 81,
                "protocol": "TCP"
              }
            ],
            "resources": {},
            "terminationMessagePath": "/dev/termination-log",
            "terminationMessagePolicy": "File"
          },
          {
            "image": "nginx:1.14.2",
            "imagePullPolicy": "IfNotPresent",
            "name": "other-side-car",
            "ports": [
              {
                "containerPort": 82,
                "protocol": "TCP"
              }
            ],
            "resources": {},
            "terminationMessagePath": "/dev/termination-log",
            "terminationMessagePolicy": "File"
          }
        ],
        "dnsPolicy": "ClusterFirst",
        "restartPolicy": "Always",
        "schedulerName": "default-scheduler",
        "securityContext": {},
        "terminationGracePeriodSeconds": 30
      }
    }
  },
  "status": {
    "conditions": [
      {
        "lastTransitionTime": "2020-09-25T09:02:53.000Z",
        "lastUpdateTime": "2020-09-25T10:34:04.000Z",
        "message": "ReplicaSet \"dice-roller-canary-7d64cd756c\" has successfully progressed.",
        "reason": "NewReplicaSetAvailable",
        "status": "True",
        "type": "Progressing"
      },
      {
        "lastTransitionTime": "2020-09-25T13:48:06.000Z",
        "lastUpdateTime": "2020-09-25T13:48:06.000Z",
        "message": "Deployment does not have minimum availability.",
        "reason": "MinimumReplicasUnavailable",
        "status": "False",
        "type": "Available"
      }
    ],
    "observedGeneration": 3,
    "replicas": 2,
    "unavailableReplicas": 2,
    "updatedReplicas": 2
  }
}
