apecloud/kubeblocks-skills/kubeblocks-addon-rabbitmq

Claude Code and agent skill by apecloud/kubeblocks-skills

Trust tier 3
  • community
  • ext:[{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Legacy compatibility shim for RabbitMQ provisioning on KubeBlocks. The primary create-time entry is kubeblocks-engine-rabbitmq. Keep this skill callable for older references, but do not recommend it as the main path for cold-start agents.

Install

npx vskill@latest install apecloud/kubeblocks-skills/kubeblocks-addon-rabbitmq

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as apecloud/kubeblocks-skills/kubeblocks-addon-rabbitmq.

Deploy RabbitMQ on KubeBlocks

Legacy compatibility shim. Primary entry: kubeblocks-engine-rabbitmq. Keep the preserved workflow below for detailed reference, but do not recommend this skill as the main path for cold-start agents.

Overview

Deploy RabbitMQ clusters on Kubernetes using KubeBlocks. RabbitMQ is a lightweight message broker supporting AMQP, MQTT, and STOMP. Multiple replicas form a cluster with queue mirroring and quorum queues. Default ports: 5672 (AMQP), 15672 (Management UI), 15692 (Prometheus metrics).

Official docs: https://kubeblocks.io/docs/preview/kubeblocks-for-rabbitmq/01-overview Quickstart: https://kubeblocks.io/docs/preview/kubeblocks-for-rabbitmq/02-quickstart

Prerequisites

  • A running Kubernetes cluster with KubeBlocks installed (see install-kubeblocks)
  • The RabbitMQ addon must be enabled:
bash
# Check if rabbitmq addon is installed
helm list -n kb-system | grep rabbitmq
# Install if missing
helm install kb-addon-rabbitmq kubeblocks/rabbitmq --namespace kb-system --version 1.0.0

Topology

TopologyValueComponentUse Case
Cluster ModeclustermoderabbitmqSingle topology; multiple replicas form a cluster with queue mirroring/quorum queues

Supported Versions

VersionserviceVersion
RabbitMQ 3.83.8.34
RabbitMQ 3.93.9.29
RabbitMQ 3.103.10.25
RabbitMQ 3.113.11.28
RabbitMQ 3.123.12.14
RabbitMQ 3.133.13.7
RabbitMQ 4.04.0.9
RabbitMQ 4.14.1.6
RabbitMQ 4.24.2.1

List available versions: kubectl get cmpv rabbitmq

Workflow

- [ ] Step 1: Ensure addon is installed
- [ ] Step 2: Create namespace
- [ ] Step 3: Create cluster (dry-run, then apply)
- [ ] Step 4: Wait for cluster to be ready
- [ ] Step 5: Connect (Management UI or rabbitmqctl)

Step 1: Ensure Addon Is Installed

bash
helm list -n kb-system | grep rabbitmq

If not found:

bash
helm install kb-addon-rabbitmq kubeblocks/rabbitmq --namespace kb-system --version 1.0.0

Step 2: Create Namespace

bash
kubectl create namespace demo --dry-run=client -o yaml | kubectl apply -f -

Step 3: Create Cluster

yaml
apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
name: rabbitmq-cluster
namespace: demo
spec:
clusterDef: rabbitmq
topology: clustermode
terminationPolicy: Delete
componentSpecs:
- name: rabbitmq
serviceVersion: "3.13.7"
replicas: 3
resources:
limits: {cpu: "0.5", memory: "0.5Gi"}
requests: {cpu: "0.5", memory: "0.5Gi"}
volumeClaimTemplates:
- name: data
spec:
accessModes: [ReadWriteOnce]
resources: {requests: {storage: 20Gi}}

Dry-run before apply:

bash
kubectl apply -f cluster.yaml --dry-run=server

If dry-run succeeds:

bash
kubectl apply -f cluster.yaml

Step 4: Wait for Cluster Ready

bash
kubectl -n demo get cluster rabbitmq-cluster -w

Success condition: STATUS shows Running. Typical duration: 1-2 minutes. Investigate after 10 min if stuck.

Check pods:

bash
kubectl -n demo get pods -l app.kubernetes.io/instance=rabbitmq-cluster

Step 5: Connect

Management UI (port-forward)

Credentials are in Secret <clusterName>-<componentName>-account-root (e.g. rabbitmq-cluster-rabbitmq-account-root):

bash
# Get credentials
NAME=$(kubectl get secrets -n demo rabbitmq-cluster-rabbitmq-account-root -o jsonpath='{.data.username}' | base64 -d)
PASSWD=$(kubectl get secrets -n demo rabbitmq-cluster-rabbitmq-account-root -o jsonpath='{.data.password}' | base64 -d)
# Port-forward Management UI (port 15672)
kubectl port-forward svc/rabbitmq-cluster-rabbitmq -n demo 15672:15672

Access http://localhost:15672 and log in with the credentials.

rabbitmqctl (CLI)
bash
kubectl -n demo exec -it rabbitmq-cluster-rabbitmq-0 -- rabbitmqctl cluster_status

Troubleshooting

Cluster stuck in Creating:

bash
kubectl -n demo describe cluster rabbitmq-cluster
kubectl -n demo get events --sort-by='.lastTimestamp'

Pod not starting:

bash
kubectl -n demo logs rabbitmq-cluster-rabbitmq-0

Cluster formation issues:

  • Ensure odd number of replicas (3, 5, 7) for quorum
  • Check peer discovery; KubeBlocks creates SA with required privileges

Day-2 Operations

OperationSkillExternal Docs
Stop / Start / Restartcluster-lifecycleDocs
Scale CPU / Memoryvertical-scalingDocs
Add / Remove replicashorizontal-scalingDocs
Expand storagevolume-expansionDocs
Expose externallyexpose-serviceDocs

Safety Patterns

Follow safety-patterns: dry-run before apply, confirm status after apply, pre-deletion checklist for delete.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/apecloud/kubeblocks-skills/kubeblocks-addon-rabbitmq/badge)](https://verified-skill.com/skills/apecloud/kubeblocks-skills/kubeblocks-addon-rabbitmq)

Something wrong with this skill or its page? Tell us.