rabbitmq / diy-kubernetes-examples Goto Github PK
View Code? Open in Web Editor NEWExamples that demonstrate how deploy a RabbitMQ cluster to Kubernetes, the DIY way
Home Page: https://rabbitmq.com
License: Mozilla Public License 2.0
Examples that demonstrate how deploy a RabbitMQ cluster to Kubernetes, the DIY way
Home Page: https://rabbitmq.com
License: Mozilla Public License 2.0
As there are examples for Google etc here, it would be really useful to have a series of example files in place or documentation for deploying to Azure's AKS offering.
I've used the configuration in gke
, to run it on microk8s.
I setup 2 Persistent Volumes for two replicas and defined the added the replicas key in the statefulset.yaml
. I am able to successfully run both the pods, see the RabbitMQ management and publish the messages to the queues.
The problem I am facing is that I am unable to join the nodes into a cluster and the peer discovery doesn't seem to work either. I am pretty sure I am missing some configuration and tried changing around the cluster_formation.k8s.host
but to no use.
Can someone please help me with this.
Thank you
On AWS EKS, I had to add:
- name: RABBITMQ_USE_LONGNAME
value: "true"
- name: K8S_HOSTNAME_SUFFIX
value: ".rabbitmq-headless.<namespace>.svc.cluster.local"
to the statefulset config to get node DNS names to resolve properly. Without this I would get just the hostname (eg. rabbitmq-1) and the other nodes can't resolve this.
Did I miss anything or this wasn't caught because replicas: 1 in the example?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.