Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bnookala/rabbitmq-job-spawner
https://github.com/bnookala/rabbitmq-job-spawner
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bnookala/rabbitmq-job-spawner
- Owner: bnookala
- License: mit
- Created: 2018-02-22T17:46:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:53:39.000Z (about 2 years ago)
- Last Synced: 2024-10-26T00:29:44.395Z (about 2 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rabbitmq-job-spawner
## Description:
A proof of concept RabbitMQ based kubernetes job spawner.
## Installation
1. `export DOCKER_USERNAME=myDockerHubUsername`
2. `python3 -m venv .`
3. `source bin/activate`
4. (optional, for locally testing) `pip install -r requirements.txt`
5. `./build-docker-images.sh` (will also try to push to docker hub…)
6. `kubectl apply -f src/listener.yaml` (important: make sure the blob storage secrets are in place!)
7. submit some rabbitmq jobs. use `producer.py` to submit them ie. `python producer.py`
8. watch as your cluster spins up Job workloads as defined by `workloads/encoder.json`!## License
MIT. See License file.