Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bnookala/rabbitmq-job-spawner


https://github.com/bnookala/rabbitmq-job-spawner

Last synced: 17 days ago
JSON representation

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.