apiVersion: batch/v1 kind: Job metadata: name: hotspot-queue-job namespace: master spec: parallelism: 1 template: metadata: name: hotspot-queue-job spec: containers: - name: hotspot-queue-job image: harbor.homieyy.com/job/master/hotspot-queue:04581463b6917ace4405069e132d6edca8433c6d command: ["./main"] env: - name: JM_ENVIRONMENT value: master restartPolicy: OnFailure imagePullSecrets: - name: registry-harbor