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

22 lines
614 B

9 months ago
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: hotspot-clear-job
namespace: dev
spec:
# schedule: "* 10 * * *" # 10分钟
schedule: "0 * * * *" # 一小时
jobTemplate:
spec:
template:
spec:
containers:
- name: hotspot-clear
image: harbor.homieyy.com/job/dev/hotspot-queue:2cbd86f97b825d22ba0513c75d3485b904cbcafd
env:
- name: JM_ENVIRONMENT
value: dev
imagePullPolicy: IfNotPresent
restartPolicy: OnFailure
imagePullSecrets:
- name: local-harbor