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.
24 lines
592 B
24 lines
592 B
1 year ago
|
apiVersion: batch/v1beta1
|
||
|
kind: CronJob
|
||
|
metadata:
|
||
|
name: hotspot-queue-job
|
||
|
namespace: dev
|
||
|
spec:
|
||
|
schedule: "0 5 * * *"
|
||
|
jobTemplate:
|
||
|
spec:
|
||
|
template:
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: hotspot-queue-job
|
||
|
image: registry.internal.jumaiyx.cn/job/room-server-clear:1
|
||
|
|
||
|
imagePullPolicy: IfNotPresent
|
||
|
command:
|
||
|
- ./server
|
||
|
env:
|
||
|
- name: JM_ENVIRONMENT
|
||
|
value: dev
|
||
|
restartPolicy: OnFailure
|
||
|
imagePullSecrets:
|
||
|
- name: registry-harbor
|