热度值清除
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.
 
 
 

23 lines
661 B

apiVersion: batch/v1
kind: CronJob
metadata:
name: hotspot-clear-job
namespace: master
spec:
schedule: "*/1 * * * *" # 10分钟
# schedule: "0 * * * *" # 一小时
jobTemplate:
spec:
template:
spec:
containers:
- name: hotspot-clear
image: harbor.homieyy.com/job/master/hotspot-clear:bc69c493d2e25b8a3507aa450e9b27d97e2310a3
imagePullPolicy: Always
env:
- name: JM_ENVIRONMENT
value: master
# imagePullPolicy: IfNotPresent
restartPolicy: OnFailure
imagePullSecrets:
- name: internal-harbor