github.com/splunk/dan1-qbec@v0.7.3/internal/types/testdata/deploy/progress-deadline.json (about)

     1  {
     2    "apiVersion": "extensions/v1beta1",
     3    "kind": "Deployment",
     4    "metadata": {
     5      "annotations": {
     6        "deployment.kubernetes.io/revision": "6",
     7        "test/error": "deployment exceeded progress deadline"
     8      },
     9      "creationTimestamp": "2019-07-16T23:18:14Z",
    10      "generation": 7,
    11      "labels": {
    12        "run": "nginx"
    13      },
    14      "name": "nginx",
    15      "namespace": "default",
    16      "resourceVersion": "146451219",
    17      "selfLink": "/apis/extensions/v1beta1/namespaces/default/deployments/nginx",
    18      "uid": "fc9c5c4f-a81f-11e9-9cb0-02b049f8a858"
    19    },
    20    "spec": {
    21      "progressDeadlineSeconds": 5,
    22      "replicas": 4,
    23      "revisionHistoryLimit": 10,
    24      "selector": {
    25        "matchLabels": {
    26          "run": "nginx"
    27        }
    28      },
    29      "strategy": {
    30        "rollingUpdate": {
    31          "maxSurge": "25%",
    32          "maxUnavailable": "25%"
    33        },
    34        "type": "RollingUpdate"
    35      },
    36      "template": {
    37        "metadata": {
    38          "annotations": {
    39            "sidecar.istio.io/inject": "false"
    40          },
    41          "creationTimestamp": null,
    42          "labels": {
    43            "run": "nginx"
    44          }
    45        },
    46        "spec": {
    47          "containers": [
    48            {
    49              "env": [
    50                {
    51                  "name": "foo",
    52                  "value": "bar2"
    53                }
    54              ],
    55              "image": "nginx:stable",
    56              "imagePullPolicy": "Always",
    57              "name": "nginx",
    58              "resources": {},
    59              "terminationMessagePath": "/dev/termination-log",
    60              "terminationMessagePolicy": "File"
    61            }
    62          ],
    63          "dnsPolicy": "ClusterFirst",
    64          "restartPolicy": "Always",
    65          "schedulerName": "default-scheduler",
    66          "securityContext": {},
    67          "terminationGracePeriodSeconds": 30
    68        }
    69      }
    70    },
    71    "status": {
    72      "availableReplicas": 3,
    73      "conditions": [
    74        {
    75          "lastTransitionTime": "2019-07-16T23:18:20Z",
    76          "lastUpdateTime": "2019-07-16T23:18:20Z",
    77          "message": "Deployment has minimum availability.",
    78          "reason": "MinimumReplicasAvailable",
    79          "status": "True",
    80          "type": "Available"
    81        },
    82        {
    83          "lastTransitionTime": "2019-07-16T23:31:52Z",
    84          "lastUpdateTime": "2019-07-16T23:31:52Z",
    85          "message": "ReplicaSet \"nginx-77b7f9bb8f\" has timed out progressing.",
    86          "reason": "ProgressDeadlineExceeded",
    87          "status": "False",
    88          "type": "Progressing"
    89        }
    90      ],
    91      "observedGeneration": 7,
    92      "readyReplicas": 3,
    93      "replicas": 4,
    94      "unavailableReplicas": 1,
    95      "updatedReplicas": 4
    96    }
    97  }