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

     1  #
     2  # Copyright (c) 2020 Intel Corporation
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  apiVersion: v1
     7  kind: Pod
     8  metadata:
     9    name: vfio
    10  spec:
    11    terminationGracePeriodSeconds: 0
    12    runtimeClassName: kata
    13    containers:
    14    - name: c1
    15      image: quay.io/prometheus/busybox:latest
    16      command:
    17        - sh
    18      tty: true
    19      stdin: true
    20      resources:
    21        limits:
    22          intel.com/virtio_net: "1"
    23        requests:
    24          intel.com/virtio_net: "1"