聊天记录清除记录
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
615 B

6 months ago
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: message-clear-job
namespace: dev
spec:
# schedule: "*/5 * * * *" # 10分钟
schedule: "0 * * * *" # 一小时
jobTemplate:
spec:
template:
spec:
containers:
- name: message-clear
6 months ago
image: 192.168.1.131:8888/job/dev/message-clear:2fa9f99e86f55f384cfd6bced7ad5c9737c963aa
6 months ago
env:
- name: JM_ENVIRONMENT
value: dev
imagePullPolicy: IfNotPresent
restartPolicy: OnFailure
imagePullSecrets:
- name: local-harbor