Commit ba6601b9 by 王悦

fix

parent cee9f92e
apiVersion: batch/v2alpha1 apiVersion: batch/v2alpha1
kind: CronJob kind: CronJob
metadata: metadata:
name: pangnongToken name: pangnongtoken
namespace: job-tasks namespace: job-tasks
spec: spec:
schedule: "* * */2 * *" schedule: "0 0 */2 * *"
jobTemplate: jobTemplate:
spec: spec:
template: template:
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
containers: containers:
- name: pangnongToken - name: pangnongtoken
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:181.12.1 image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:181.12.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
......
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