Skip to content

Instantly share code, notes, and snippets.

@pichuang
Created February 21, 2021 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pichuang/17e5681ebd092da65dedac48a54c7017 to your computer and use it in GitHub Desktop.
Save pichuang/17e5681ebd092da65dedac48a54c7017 to your computer and use it in GitHub Desktop.
---
apiVersion: batch/v1
kind: Job
metadata:
generateName: work-queue-
spec:
template:
spec:
containers:
- name: work
image: busybox
command: ["sleep", "300"]
resources:
requests:
memory: 500Mi
cpu: 500m
restartPolicy: Never
backoffLimit: 4
completions: 50
parallelism: 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment