github.com/castai/kvisor@v1.7.1-0.20240516114728-b3572a2607b5/demo/5.oom/crash.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    annotations:
     5      cni.projectcalico.org/containerID: 178df4de9d42f5e642fbe49e62950ed68259d929b68b987cced3b11bb215891f
     6      cni.projectcalico.org/podIP: 10.48.1.26/32
     7      cni.projectcalico.org/podIPs: 10.48.1.26/32
     8    creationTimestamp: "2023-12-26T09:37:34Z"
     9    generateName: oom-test-b55b45f99-
    10    labels:
    11      app: oom-test
    12      pod-template-hash: b55b45f99
    13    name: oom-test-b55b45f99-2dg27
    14    namespace: demo
    15    ownerReferences:
    16    - apiVersion: apps/v1
    17      blockOwnerDeletion: true
    18      controller: true
    19      kind: ReplicaSet
    20      name: oom-test-b55b45f99
    21      uid: 2aeb4503-124a-47e3-a985-853cb64bba7e
    22    resourceVersion: "92769744"
    23    uid: 6142a1d5-3982-43b5-8a78-a6a1866047d4
    24  spec:
    25    containers:
    26    - args:
    27      - -mem-total2
    28      - 1Gi
    29      - -mem-alloc-size
    30      - 100Mi
    31      image: vish/stress
    32      imagePullPolicy: Always
    33      name: stress
    34      resources:
    35        limits:
    36          memory: 10Mi
    37        requests:
    38          memory: 10Mi
    39      terminationMessagePath: /dev/termination-log
    40      terminationMessagePolicy: File
    41      volumeMounts:
    42      - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
    43        name: kube-api-access-7n5dn
    44        readOnly: true
    45    dnsPolicy: ClusterFirst
    46    enableServiceLinks: true
    47    nodeName: gke-demo-pool-1-96567561-ukhh
    48    preemptionPolicy: PreemptLowerPriority
    49    priority: 0
    50    restartPolicy: Always
    51    schedulerName: default-scheduler
    52    securityContext: {}
    53    serviceAccount: default
    54    serviceAccountName: default
    55    terminationGracePeriodSeconds: 30
    56    tolerations:
    57    - effect: NoExecute
    58      key: node.kubernetes.io/not-ready
    59      operator: Exists
    60      tolerationSeconds: 300
    61    - effect: NoExecute
    62      key: node.kubernetes.io/unreachable
    63      operator: Exists
    64      tolerationSeconds: 300
    65    volumes:
    66    - name: kube-api-access-7n5dn
    67      projected:
    68        defaultMode: 420
    69        sources:
    70        - serviceAccountToken:
    71            expirationSeconds: 3607
    72            path: token
    73        - configMap:
    74            items:
    75            - key: ca.crt
    76              path: ca.crt
    77            name: kube-root-ca.crt
    78        - downwardAPI:
    79            items:
    80            - fieldRef:
    81                apiVersion: v1
    82                fieldPath: metadata.namespace
    83              path: namespace
    84  status:
    85    conditions:
    86    - lastProbeTime: null
    87      lastTransitionTime: "2023-12-26T09:37:34Z"
    88      status: "True"
    89      type: Initialized
    90    - lastProbeTime: null
    91      lastTransitionTime: "2023-12-26T09:37:34Z"
    92      message: 'containers with unready status: [stress]'
    93      reason: ContainersNotReady
    94      status: "False"
    95      type: Ready
    96    - lastProbeTime: null
    97      lastTransitionTime: "2023-12-26T09:37:34Z"
    98      message: 'containers with unready status: [stress]'
    99      reason: ContainersNotReady
   100      status: "False"
   101      type: ContainersReady
   102    - lastProbeTime: null
   103      lastTransitionTime: "2023-12-26T09:37:34Z"
   104      status: "True"
   105      type: PodScheduled
   106    containerStatuses:
   107    - containerID: containerd://b821a5cc01a6c177c087a11b72bb455f0412ca5a849b48887c5b72861b667a4c
   108      image: docker.io/vish/stress:latest
   109      imageID: docker.io/vish/stress@sha256:b6456a3df6db5e063e1783153627947484a3db387be99e49708c70a9a15e7177
   110      lastState:
   111        terminated:
   112          containerID: containerd://8a8394dd3bb44f4f727d38f98088b27b18787fa129e597a6c309382a927030db
   113          exitCode: 2
   114          finishedAt: "2023-12-26T09:37:35Z"
   115          reason: Error
   116          startedAt: "2023-12-26T09:37:35Z"
   117      name: stress
   118      ready: false
   119      restartCount: 2
   120      started: false
   121      state:
   122        terminated:
   123          containerID: containerd://b821a5cc01a6c177c087a11b72bb455f0412ca5a849b48887c5b72861b667a4c
   124          exitCode: 2
   125          finishedAt: "2023-12-26T09:37:53Z"
   126          reason: Error
   127          startedAt: "2023-12-26T09:37:53Z"
   128    hostIP: 10.128.0.6
   129    phase: Running
   130    podIP: 10.48.1.26
   131    podIPs:
   132    - ip: 10.48.1.26
   133    qosClass: Burstable
   134    startTime: "2023-12-26T09:37:34Z"