Move Jobs under Controllers. (#3453)

* Move Jobs under Controllers.

* Change title.
This commit is contained in:
Steve Perry
2017-04-18 20:04:48 -07:00
committed by GitHub
parent e90ba44bb8
commit 38395e7b53
5 changed files with 44 additions and 7 deletions
@@ -0,0 +1,15 @@
apiVersion: batch/v1
kind: Job
metadata:
name: pi
spec:
template:
metadata:
name: pi
spec:
containers:
- name: pi
image: perl
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restartPolicy: Never