k8 kompose photoview
This commit is contained in:
parent
b3219b2b95
commit
2fb1980e28
6 changed files with 350 additions and 26 deletions
14
photoview/job.yaml
Normal file
14
photoview/job.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: myjob
|
||||
spec:
|
||||
ttlSecondsAfterFinished: 100
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: myjobcontainer
|
||||
image: busybox
|
||||
command: ["ls", "/"]
|
||||
restartPolicy: Never
|
||||
backoffLimit: 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue