These examples were put together to accompany a blog post. They should not be used as the primary example of RabbitMQ deployments on Kubernetes. This code is unlikely to receive timely updates. For most intents and purposes, it should be considered frozen in time 🥶 and effectively unmaintained.
The recommended way to deploy RabbitMQ on Kubernetes is the RabbitMQ Cluster Operator for Kubernetes. The Operator is developed on GitHub and contains its own set of examples.
This directory contains examples that demonstrate a DIY minimalistic RabbitMQ cluster deployments on Kubernetes with Kubernetes peer discovery. There are several examples:
- An extensive one that targets the Google Kubernetes Engine (GKE), originally contributed by Feroz Jilla
- A basic one that targets Minikube
- Another basic one that targets Kind, originally contributed by Gabriele Santomaggio
Some values in these example files may or may not be optimal for your deployment. There are many aspects to
deploying and running a production-grade cluster on Kubernetes that this example cannot know or make too many assumptions about.
Persistent volume configuration is one obvious examples. You are welcome and encouraged to expand
the example by adding more files under the examples/{environment}
directory.
We assume that the users of this plugin familiarize themselves with the RabbitMQ Peer Discovery guide, RabbitMQ Production Checklist, and the rest of RabbitMQ documentation before going into production.
Having metrics, both of RabbitMQ and applications that use it, is critically important when making informed decisions about production systems.
Released under the Mozilla Public License 2.0.
(c) VMware, Inc. or its affiliates, 2020-2021.