Last active
August 23, 2021 09:56
-
-
Save CristianoPassos/76bcc45e6da50dc9299ed6aac0eae8c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: job-wq-1 | |
spec: | |
completions: 8 | |
parallelism: 2 | |
template: | |
metadata: | |
name: job-wq-1 | |
spec: | |
containers: | |
- name: c | |
image: cristianopassos/job-wq-1:latest | |
env: | |
- name: BROKER_URL | |
value: amqp://guest:guest@rabbitmq-service:5672 | |
- name: QUEUE | |
value: job1 | |
restartPolicy: OnFailure |
Author
CristianoPassos
commented
Aug 23, 2021
•
- https://hub.docker.com/r/cristianopassos/job-wq-1
- https://kubernetes.io/examples/application/job/rabbitmq/worker.py
- https://kubernetes.io/examples/application/job/rabbitmq/Dockerfile
- completions: 8
Needed for Lab, but not in PROD
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment