otto 1 year ago
parent
commit
2cbd86f97b
  1. 4
      job-dev.yaml

4
job-dev.yaml

@ -2,7 +2,7 @@ apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: hotspot-queue-job name: hotspot-queue-job
namespace: master namespace: dev
spec: spec:
schedule: "0 1 * * *" schedule: "0 1 * * *"
parallelism: 1 parallelism: 1
@ -16,7 +16,7 @@ spec:
# command: ["./main"] # command: ["./main"]
env: env:
- name: JM_ENVIRONMENT - name: JM_ENVIRONMENT
value: master value: dev
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets: imagePullSecrets:
- name: registry-harbor - name: registry-harbor
Loading…
Cancel
Save