Coder Social home page Coder Social logo

rabbitmq / diy-kubernetes-examples Goto Github PK

View Code? Open in Web Editor NEW
95.0 6.0 83.0 88 KB

Examples that demonstrate how deploy a RabbitMQ cluster to Kubernetes, the DIY way

Home Page: https://rabbitmq.com

License: Mozilla Public License 2.0

Makefile 100.00%
rabbitmq kubernetes k8s examples

diy-kubernetes-examples's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

diy-kubernetes-examples's Issues

nodes can't resolve DNS names

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?

Azure Kubernetes Service (AKS) Examples

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.

Running the example(s) on microk8s

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.