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

     1  #
     2  # Copyright (c) 2018 Intel Corporation
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  apiVersion: apps/v1
     7  kind: Deployment
     8  metadata:
     9    name: deploymenttest
    10    namespace: test-quota-ns
    11  spec:
    12    selector:
    13      matchLabels:
    14        purpose: quota-demo
    15    replicas: 2
    16    template:
    17      metadata:
    18        labels:
    19          purpose: quota-demo
    20      spec:
    21        terminationGracePeriodSeconds: 0
    22        runtimeClassName: kata
    23        containers:
    24        - name: pod-quota-demo
    25          image: quay.io/prometheus/busybox:latest
    26          command: ["tail", "-f", "/dev/null"]