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