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

     1  #
     2  # Copyright (c) 2019 Intel Corporation
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  apiVersion: batch/v1
     7  kind: Job
     8  metadata:
     9    name: job-pi-test
    10  spec:
    11    template:
    12      spec:
    13        terminationGracePeriodSeconds: 0
    14        runtimeClassName: kata
    15        containers:
    16        - name: pi
    17          image: quay.io/prometheus/busybox:latest
    18          command: ["/bin/sh", "-c", "echo 'scale=5; 4*a(1)' | bc -l"]
    19        restartPolicy: Never
    20    backoffLimit: 4