Added basic setup for master and certification material
This commit is contained in:
18
files/LFS258/SOLUTIONS/s_06/cronjob.yaml
Normal file
18
files/LFS258/SOLUTIONS/s_06/cronjob.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: batch/v1beta1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: sleepy
|
||||
spec:
|
||||
schedule: "*/2 * * * *"
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: resting
|
||||
image: busybox
|
||||
command: ["/bin/sleep"]
|
||||
args: ["5"]
|
||||
restartPolicy: Never
|
||||
|
||||
|
||||
Reference in New Issue
Block a user