github.com/splunk/dan1-qbec@v0.7.3/internal/types/testdata/daemonset/bad-object.json (about)

     1  {
     2    "apiVersion": "extensions/v1beta1",
     3    "kind": "DaemonSet",
     4    "metadata": {
     5      "annotations": {
     6        "test/error": "/json unmarshal/"
     7      },
     8      "creationTimestamp": "2018-06-20T06:18:37Z",
     9      "generation": 12,
    10      "labels": {
    11        "app": "nginx"
    12      },
    13      "name": "nginx",
    14      "namespace": "default",
    15      "resourceVersion": "95296317",
    16      "selfLink": "/apis/extensions/v1beta1/namespaces/default/daemonsets/nginx",
    17      "uid": "c466b004-7451-11e8-9551-0a42ecfaa366"
    18    },
    19    "spec": {
    20      "revisionHistoryLimit": 10,
    21      "selector": {
    22        "matchLabels": {
    23          "app": "nginx"
    24        }
    25      },
    26      "template": {
    27        "metadata": {
    28          "labels": {
    29            "app": "nginx"
    30          }
    31        },
    32        "spec": {
    33          "containers": [
    34            {
    35              "image": "nginx",
    36              "name": "main",
    37              "ports": [
    38                {
    39                  "containerPort": 8181,
    40                  "hostPort": 8181,
    41                  "name": "http",
    42                  "protocol": "TCP"
    43                }
    44              ],
    45              "resources": {},
    46              "terminationMessagePath": "/dev/termination-log",
    47              "terminationMessagePolicy": "File"
    48            }
    49          ],
    50          "dnsPolicy": "ClusterFirst",
    51          "hostNetwork": true,
    52          "restartPolicy": "Always",
    53          "schedulerName": "default-scheduler",
    54          "securityContext": {},
    55          "serviceAccount": "default",
    56          "serviceAccountName": "default",
    57          "terminationGracePeriodSeconds": 30
    58        }
    59      },
    60      "templateGeneration": 11,
    61      "updateStrategy": {
    62        "rollingUpdate": {
    63          "maxUnavailable": 1
    64        },
    65        "type": "RollingUpdate"
    66      }
    67    },
    68    "status": {
    69      "currentNumberScheduled": 3,
    70      "desiredNumberScheduled": 3,
    71      "numberAvailable": "xxx",
    72      "numberMisscheduled": 0,
    73      "numberReady": 3,
    74      "observedGeneration": 12,
    75      "updatedNumberScheduled": 3
    76    }
    77  }