Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skylt/rabbitmq-operator
Rabbitmq operator for kubernetes
https://github.com/skylt/rabbitmq-operator
kubernetes operator-sdk rabbitmq rabbitmq-operator
Last synced: 3 months ago
JSON representation
Rabbitmq operator for kubernetes
- Host: GitHub
- URL: https://github.com/skylt/rabbitmq-operator
- Owner: skylt
- License: mit
- Created: 2019-07-26T11:36:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T12:30:02.000Z (over 4 years ago)
- Last Synced: 2024-05-22T14:31:43.707Z (6 months ago)
- Topics: kubernetes, operator-sdk, rabbitmq, rabbitmq-operator
- Language: Dockerfile
- Homepage:
- Size: 64.5 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rabbitmq-operator
[![Build Status](https://travis-ci.com/skylt/rabbitmq-operator.svg?token=HZSHnK52ZJ1RYKyjaf5C&branch=master)](https://travis-ci.com/skylt/rabbitmq-operator)## Purpose
This operator was made to remove the need to have credentials written down in
manifests.
It achieves this by generating the credentials and storing them in a secret
during the creation process.## Configuration
- `deploy/operator`:
Set the correct image name
- `deploy/role_binding.yaml`:
Set the namespace where the operator will be deployed## Deploying
```shellsession
NAMESPACE="kube-system"
kubectl -n $NAMESPACE apply -Rf deploy/
```
To deploy a simple rabbitmq service:
```shellsession
NAMESPACE="test-rabbitmq"
kubectl -n $NAMESPACE apply -Rf cr/simple.yaml
watch -n1 kubectl -n $NAMESPACE get pods
```## Usage example
A further example, showing how to connect and send a simple message to the
rabbitmq instance may be found [here](https://github.com/skylt/rabbitmq-example).