Skip to content

Instantly share code, notes, and snippets.

@coryodaniel
Created June 16, 2017 21:08
Show Gist options
  • Save coryodaniel/e3589508ed15d4005f8e3e88d5fbdd89 to your computer and use it in GitHub Desktop.
Save coryodaniel/e3589508ed15d4005f8e3e88d5fbdd89 to your computer and use it in GitHub Desktop.
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