Commit 09d3d46c by 蒋勇

d

parent faceaf1e
apiVersion: batch/v2alpha1
kind: CronJob
metadata:
name: cronjob-taskdemo
name: icpfile-builder
namespace: tencent-qifu
spec:
schedule: "*/1 * * * *"
schedule: "*/30 * * * *"
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: hello
- name: icpfile-builder
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:39.0.2
imagePullPolicy: IfNotPresent
env:
......@@ -20,7 +20,7 @@ spec:
- name: LANG
value: zh_CN.UTF-8
- name: TASK_NAME
value: testTask
value: icp.
- name: TASK_PARAM
value: hello,world
---
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment