kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch08/pi/pi-job.yaml

15 lines
281 B
YAML
Raw Normal View History

apiVersion: batch/v1
kind: Job
metadata:
name: pi-job
labels:
kiamol: ch08
spec:
template:
spec:
containers:
- name: pi
image: kiamol/ch05-pi
command: ["dotnet", "Pi.Web.dll", "-m", "console", "-dp", "50"]
restartPolicy: Never