k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/testing/batch/job.yaml (about)

     1  apiVersion: batch/v1
     2  kind: Job
     3  metadata:
     4    name: {{.Name}}
     5    labels:
     6      group: test-job
     7  spec:
     8    parallelism: {{.Replicas}}
     9    completions: {{.Replicas}}
    10    completionMode: {{.Mode}}
    11    template:
    12      metadata:
    13        labels:
    14          group: test-pod
    15      spec:
    16        containers:
    17        - name: {{.Name}}
    18          image: gcr.io/k8s-staging-perf-tests/sleep:v0.0.3
    19          args:
    20            - {{.Sleep}}
    21        restartPolicy: Never