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:3defe42b9ebcb87c67f99daa64f53beb7951b35d # command: ["./main"] env: - name: JM_ENVIRONMENT value: master restartPolicy: OnFailure imagePullSecrets: - name: registry-harbor