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

     1  {
     2    "apiVersion": "extensions/v1beta1",
     3    "kind": "Deployment",
     4    "metadata": {
     5      "annotations": {
     6        "deployment.kubernetes.io/revision": "1",
     7        "test/error": "desired revision (2) is different from the running revision (1)",
     8        "test-input/revision": "2"
     9      },
    10      "creationTimestamp": "2019-07-16T23:18:14Z",
    11      "generation": 1,
    12      "labels": {
    13        "run": "nginx"
    14      },
    15      "name": "nginx",
    16      "namespace": "default",
    17      "resourceVersion": "146445064",
    18      "selfLink": "/apis/extensions/v1beta1/namespaces/default/deployments/nginx",
    19      "uid": "fc9c5c4f-a81f-11e9-9cb0-02b049f8a858"
    20    },
    21    "spec": {
    22      "progressDeadlineSeconds": 2147483647,
    23      "replicas": 4,
    24      "revisionHistoryLimit": 10,
    25      "selector": {
    26        "matchLabels": {
    27          "run": "nginx"
    28        }
    29      },
    30      "strategy": {
    31        "rollingUpdate": {
    32          "maxSurge": "25%",
    33          "maxUnavailable": "25%"
    34        },
    35        "type": "RollingUpdate"
    36      },
    37      "template": {
    38        "metadata": {
    39          "labels": {
    40            "run": "nginx"
    41          }
    42        },
    43        "spec": {
    44          "containers": [
    45            {
    46              "image": "nginx",
    47              "imagePullPolicy": "Always",
    48              "name": "nginx",
    49              "resources": {},
    50              "terminationMessagePath": "/dev/termination-log",
    51              "terminationMessagePolicy": "File"
    52            }
    53          ],
    54          "dnsPolicy": "ClusterFirst",
    55          "restartPolicy": "Always",
    56          "schedulerName": "default-scheduler",
    57          "securityContext": {},
    58          "terminationGracePeriodSeconds": 30
    59        }
    60      }
    61    },
    62    "status": {
    63      "conditions": [
    64        {
    65          "lastTransitionTime": "2019-07-16T23:18:14Z",
    66          "lastUpdateTime": "2019-07-16T23:18:14Z",
    67          "message": "Deployment does not have minimum availability.",
    68          "reason": "MinimumReplicasUnavailable",
    69          "status": "False",
    70          "type": "Available"
    71        }
    72      ],
    73      "observedGeneration": 1,
    74      "replicas": 4,
    75      "unavailableReplicas": 4,
    76      "updatedReplicas": 4
    77    }
    78  }