热度值清除
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
721 B

9 months ago
apiVersion: batch/v1
9 months ago
kind: CronJob
metadata:
name: hotspot-clear-job
namespace: master
spec:
9 months ago
schedule: "*/10 * * * *" # 10分钟
9 months ago
# schedule: "0 * * * *" # 一小时
9 months ago
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
9 months ago
jobTemplate:
spec:
template:
spec:
containers:
- name: hotspot-clear
9 months ago
image: 192.168.0.19:5000/job/master/hotspot-clear:5ea4b60e8364579d393c5c46088cb1d0b58135ff
9 months ago
imagePullPolicy: Always
9 months ago
env:
- name: JM_ENVIRONMENT
value: master
9 months ago
# imagePullPolicy: IfNotPresent
9 months ago
restartPolicy: OnFailure
imagePullSecrets:
9 months ago
- name: internal-harbor