Kind: Job - timowang1991/kubernetes-docs GitHub Wiki

What is this?

One time job. As pods successfully complete, the Job tracks the successful completions.



Resources



Example

apiVersion: batch/v1
kind: Job
metadata:
  name: pi
spec:
  template:
    spec:
      containers:
      - name: pi
        image: perl
        command: ["perl",  "-Mbignum=bpi", "-wle", "print bpi(2000)"]
      restartPolicy: Never
  backoffLimit: 4
⚠️ **GitHub.com Fallback** ⚠️