# ---
apiVersion: batch/v1
kind: Job
metadata:
  name: job
  namespace: test-job-bug
  labels:
    kueue.x-k8s.io/queue-name: user-queue
spec:
  parallelism: 1
  completions: 1
  suspend: true
  template:
    spec:
      containers:
      - name: dummy-job
        image: registry.k8s.io/e2e-test-images/agnhost:2.53
        command: [ "/bin/sh" ]
        args: [ "-c", "sleep infinity" ]
        # args: [ "-c", "while true; do echo 'Testing'; sleep 30; done" ]
        resources:
          requests:
            cpu: "1"
            memory: "200Mi"
      restartPolicy: Never
