otto
1 year ago
2 changed files with 26 additions and 5 deletions
@ -0,0 +1,21 @@ |
|||||||
|
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 |
Loading…
Reference in new issue