otto
1 year ago
3 changed files with 26 additions and 6 deletions
@ -0,0 +1,21 @@ |
|||||||
|
apiVersion: batch/v1 |
||||||
|
kind: Job |
||||||
|
metadata: |
||||||
|
name: hotspot-queue-job |
||||||
|
namespace: dev |
||||||
|
spec: |
||||||
|
parallelism: 1 |
||||||
|
template: |
||||||
|
metadata: |
||||||
|
name: hotspot-queue-job |
||||||
|
spec: |
||||||
|
containers: |
||||||
|
- name: hotspot-queue-job |
||||||
|
image: harbor.homieyy.com/job/dev/hotspot-queue:364ceb13bf57f7e5029bdb23d657caa188c31e59 |
||||||
|
command: ["main"] |
||||||
|
env: |
||||||
|
- name: JM_ENVIRONMENT |
||||||
|
value: dev |
||||||
|
restartPolicy: OnFailure |
||||||
|
imagePullSecrets: |
||||||
|
- name: registry-harbor |
Loading…
Reference in new issue