RabbitMQ is open source message broker service, it enables services communication and workflow operations. Katana ML Skipper communication service runs on top of RabbitMQ.
To run all services, check instructions in main README
- Run Docker Compose script
docker-compose up --build -d
- RabbitMQ dashboard
http://localhost:15672 (skipper/welcome1)
Instructions are based on content explained by That DevOps Guy
- Create namespace
kubectl create ns rabbits
- Check storage class
kubectl get storageclass
- Define RabbitMQ role mappings
kubectl apply -n rabbits -f rabbit-rbac.yaml
- Define RabbitMQ secret
kubectl apply -n rabbits -f rabbit-secret.yaml
- Define RabbitMQ configs
kubectl apply -n rabbits -f rabbit-configmap.yaml
- Create RabbitMQ cluster and pods
kubectl apply -n rabbits -f rabbit-statefulset.yaml
- Verify pods
kubectl -n rabbits get pods
- Verify assigned persistence volumes
kubectl -n rabbits get pvc
- Open external access, to access RabbitMQ UI
kubectl -n rabbits port-forward rabbitmq-0 15672:15672
- RabbitMQ UI URL
http://localhost:15672/ (skipper/welcome1)
- Scale RabbitMQ cluster
kubectl scale -n rabbits statefulsets rabbitmq --replicas=2
- Delete all resources
kubectl delete all --all -n rabbits
.
├── Dockerfile
├── init.sh
├── rabbit-configmap.yaml
├── rabbit-rbac.yaml
├── rabbit-secret.yaml
├── rabbit-statefulset.yaml
└── README.MD
Licensed under the Apache License, Version 2.0. Copyright 2020-2021 Katana ML, Andrej Baranovskij. Copy of the license.