Commit becf7241 by 宋毅

tmpaytransfer-tasks-deployment文件添加

parent 2e442bfb
apiVersion: batch/v2alpha1
kind: CronJob
metadata:
name: tmpaytransfer
namespace: job-tasks
spec:
schedule: "*/5 * * * *"
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: tmpaytransfer
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:181.0.6
imagePullPolicy: IfNotPresent
env:
- name: TZ
value: Asia/Shanghai
- name: LANG
value: zh_CN.UTF-8
- name: TASK_NAME
value: tmtransfer.tmtransferTask
- name: TASK_PARAM
value: hello
- name: APP_ENV
valueFrom:
configMapKeyRef:
name: task-config
key: APP_ENV
\ No newline at end of file
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