Skip to content

Instantly share code, notes, and snippets.

@mageyuki
Created December 14, 2019 20:07
Show Gist options
  • Save mageyuki/e54f969f0b3741b2f095c82c04e0f4bb to your computer and use it in GitHub Desktop.
Save mageyuki/e54f969f0b3741b2f095c82c04e0f4bb to your computer and use it in GitHub Desktop.
test-job.yaml
apiVersion: batch/v1
kind: Job
metadata:
name: test-pod
namespace: test-fargate
spec:
parallelism: 3
template:
spec:
containers:
- name: sleep
image: alpine
command: ["sh", "-c"]
args:
- |
sleep 3
restartPolicy: Never
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment