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.
|
|
|
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: harbor.homieyy.com/job/dev/hotspot-queue:364ceb13bf57f7e5029bdb23d657caa188c31e59
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
command:
|
|
|
|
- ./main
|
|
|
|
env:
|
|
|
|
- name: JM_ENVIRONMENT
|
|
|
|
value: dev
|
|
|
|
restartPolicy: OnFailure
|
|
|
|
imagePullSecrets:
|
|
|
|
- name: registry-harbor
|