github.com/kata-containers/tests@v0.0.0-20240307153542-772105b56064/integration/kubernetes/runtimeclass_workloads/busybox-pod.yaml (about)

     1  #
     2  # Copyright (c) 2018 Intel Corporation
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  apiVersion: v1
     7  kind: Pod
     8  metadata:
     9    name: busybox
    10  spec:
    11    terminationGracePeriodSeconds: 0
    12    shareProcessNamespace: true
    13    runtimeClassName: kata
    14    containers:
    15    - name: first-test-container
    16      image: quay.io/prometheus/busybox:latest
    17      env:
    18      - name: CONTAINER_NAME
    19        value: "first-test-container"
    20      command:
    21          - sleep
    22          - "30"
    23    - name: second-test-container
    24      image: quay.io/prometheus/busybox:latest
    25      env:
    26      - name: CONTAINER_NAME
    27        value: "second-test-container"
    28      command:
    29          - sleep
    30          - "30"
    31      stdin: true
    32      tty: true