otto
1 year ago
4 changed files with 33 additions and 9 deletions
@ -0,0 +1,22 @@ |
|||||||
|
apiVersion: batch/v1 |
||||||
|
kind: Job |
||||||
|
metadata: |
||||||
|
name: hotspot-queue-job |
||||||
|
namespace: master |
||||||
|
spec: |
||||||
|
schedule: "0 1 * * *" |
||||||
|
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 |
Loading…
Reference in new issue