apiVersion: batch/v1
kind: Job
metadata:
  name: memory-heavy-job
spec:
  template:
    spec:
      containers:
      - name: memory-heavy-container
        image: ghcr.io/vish/stress:latest
        resources:
          requests:
            memory: "2Gi"
          limits:
            memory: "32Gi"
        command: ["stress"]
        args: ["--vm", "2", "--vm-bytes", "32G", "--timeout", "600"]
      restartPolicy: Never
  backoffLimit: 4
  