Skip to content

Instantly share code, notes, and snippets.

@coryodaniel
Created June 16, 2017 21:08
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Perl Pi Job Kubernetes
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment