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

     1  #
     2  # Copyright (c) 2019 Intel Corporation
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  apiVersion: v1
     7  kind: Pod
     8  metadata:
     9    name: sharevol-kata
    10  spec:
    11    terminationGracePeriodSeconds: 0
    12    runtimeClassName: kata
    13    containers:
    14    - name: test
    15      image: quay.io/prometheus/busybox:latest
    16      command: ["tail", "-f", "/dev/null"]
    17      volumeMounts:
    18        - name: host-empty-vol
    19          mountPath: "/host/cache"
    20        - name: memory-empty-vol
    21          mountPath: "/tmp/cache"
    22    volumes:
    23    - name: host-empty-vol
    24      emptyDir: {}
    25    - name: memory-empty-vol
    26      emptyDir:
    27        medium: Memory
    28        sizeLimit: "50M"