go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/parsers/testdata/pod.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    creationTimestamp: "2020-04-05T17:48:10Z"
     5    generateName: centos-6b88594b-
     6    labels:
     7      app: centos
     8      pod-template-hash: 6b88594b
     9    name: centos-6b88594b-8x7fl
    10    namespace: default
    11    ownerReferences:
    12    - apiVersion: apps/v1
    13      blockOwnerDeletion: true
    14      controller: true
    15      kind: ReplicaSet
    16      name: centos-6b88594b
    17      uid: bcd0cdf9-f739-47e5-b6d4-9d5c2efd4302
    18    resourceVersion: "3321983"
    19    selfLink: /api/v1/namespaces/default/pods/centos-6b88594b-8x7fl
    20    uid: 4a64d85a-4c43-42a5-aafb-2b2a4aea8dd6
    21  spec:
    22    containers:
    23    - image: docker.io/library/centos:6.6
    24      imagePullPolicy: IfNotPresent
    25      name: centos
    26      resources: {}
    27      terminationMessagePath: /dev/termination-log
    28      terminationMessagePolicy: File
    29      volumeMounts:
    30      - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
    31        name: default-token-mf2sx
    32        readOnly: true
    33    dnsPolicy: ClusterFirst
    34    enableServiceLinks: true
    35    nodeName: m01
    36    priority: 0
    37    restartPolicy: Always
    38    schedulerName: default-scheduler
    39    securityContext: {}
    40    serviceAccount: default
    41    serviceAccountName: default
    42    terminationGracePeriodSeconds: 30
    43    tolerations:
    44    - effect: NoExecute
    45      key: node.kubernetes.io/not-ready
    46      operator: Exists
    47      tolerationSeconds: 300
    48    - effect: NoExecute
    49      key: node.kubernetes.io/unreachable
    50      operator: Exists
    51      tolerationSeconds: 300
    52    volumes:
    53    - name: default-token-mf2sx
    54      secret:
    55        defaultMode: 420
    56        secretName: default-token-mf2sx
    57  status:
    58    conditions:
    59    - lastProbeTime: null
    60      lastTransitionTime: "2020-04-05T17:48:10Z"
    61      status: "True"
    62      type: Initialized
    63    - lastProbeTime: null
    64      lastTransitionTime: "2020-04-05T17:48:10Z"
    65      message: 'containers with unready status: [centos]'
    66      reason: ContainersNotReady
    67      status: "False"
    68      type: Ready
    69    - lastProbeTime: null
    70      lastTransitionTime: "2020-04-05T17:48:10Z"
    71      message: 'containers with unready status: [centos]'
    72      reason: ContainersNotReady
    73      status: "False"
    74      type: ContainersReady
    75    - lastProbeTime: null
    76      lastTransitionTime: "2020-04-05T17:48:10Z"
    77      status: "True"
    78      type: PodScheduled
    79    containerStatuses:
    80    - image: docker.io/library/centos:6.6
    81      imageID: ""
    82      lastState: {}
    83      name: centos
    84      ready: false
    85      restartCount: 0
    86      started: false
    87      state:
    88        waiting:
    89          message: 'Error response from daemon: No command specified'
    90          reason: CreateContainerError
    91    hostIP: 192.168.99.101
    92    phase: Pending
    93    podIP: 172.17.0.3
    94    podIPs:
    95    - ip: 172.17.0.3
    96    qosClass: BestEffort
    97    startTime: "2020-04-05T17:48:10Z"