Created
June 3, 2020 00:00
-
-
Save elee/7ae8ad566d13d2683c7a41ae8f997f46 to your computer and use it in GitHub Desktop.
ENDLESS JOB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: pi | |
spec: | |
template: | |
spec: | |
containers: | |
- name: pi | |
image: perl | |
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(20000)"] | |
- name: not-envoy | |
image: nginx:1.17.8 | |
- name: not-emissary-sidecar | |
image: python:latest | |
command: ["python"] | |
args: ["-m", "http.server", "7000"] | |
restartPolicy: Never | |
backoffLimit: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment