---
title: Charmhub | Deploy Rabbitmq K8S using Charmhub - The Open Operator Collection
description: Deploy the latest version of Rabbitmq K8S as a Kubernetes Operator on
  any cloud.
url: https://charmhub.io/rabbitmq-k8s/actions
---

# Rabbitmq K8S

[OpenStack Charmers](https://charmhub.io/publisher/openstack-charmers "View all packages from OpenStack Charmers")

* [OpenStack Charmers](https://charmhub.io/publisher/openstack-charmers "View all packages from OpenStack Charmers")

Platform:

3.12/stable 72

```
juju deploy rabbitmq-k8s --channel 3.12/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [add-member](https://charmhub.io/rabbitmq-k8s/actions#add-member)
* [delete-member](https://charmhub.io/rabbitmq-k8s/actions#delete-member)
* [ensure-queue-ha](https://charmhub.io/rabbitmq-k8s/actions#ensure-queue-ha)
* [get-operator-info](https://charmhub.io/rabbitmq-k8s/actions#get-operator-info)
* [get-service-account](https://charmhub.io/rabbitmq-k8s/actions#get-service-account)
* [grow](https://charmhub.io/rabbitmq-k8s/actions#grow)
* [rebalance-quorum](https://charmhub.io/rabbitmq-k8s/actions#rebalance-quorum)
* [shrink](https://charmhub.io/rabbitmq-k8s/actions#shrink)

[Learn about actions >](https://juju.is/docs/juju/action)

* add-member

  Add member to queue

  Params

  + queue-name
    string

    Name of queue to add the member to.
  + unit-name
    string

    Juju unit name of the node to be added to the queue
  + vhost
    string

    vhost that the queue resides in.

  Required

  queue-name,
  unit-name
* delete-member

  Remove member from queue

  Params

  + queue-name
    string

    Name of queue to remove the member from.
  + unit-name
    string

    Juju unit name of the node to be removed from the queue
  + vhost
    string

    vhost that the queue resides in.

  Required

  queue-name,
  unit-name
* ensure-queue-ha

  Check for queues that have insufficent members for high
  availability and, if possible, add members to them.

  Params

  + dry-run
    boolean

    Report on what memberships would change if the command was
    run and warn about any queues that cannot be fixed.
* get-operator-info

  Get information on the operator user for rabbitmq management.
* get-service-account

  Generate credentials and access for an external service.

  Params

  + username
    string

    The username for the service account.
  + vhost
    string

    The RabbitMQ virtual host to use for the account.

  Required

  username,
  vhost
* grow

  Adds a new replica on the given node for all or a half
  of matching quorum queues.

  Params

  + queue-pattern
    string

    Match queues to be added to the node
  + selector
    string

    Valid values are "all" or even"
  + unit-name
    string

    Juju unit name of the node to have queues added
  + vhost-pattern
    string

    Match vhosts to be added to the node

  Required

  unit-name,
  selector
* rebalance-quorum

  Rebalance queue leaders to that they are evenly balanced
  across the cluster.
* shrink

  Shrinks quorum queue clusters by removing any members (replicas)
  on the given node.

  Params

  + error-only
    boolean

    Only list queues which reported an error
  + unit-name
    string

    Juju unit name of the node to have queues added

  Required

  unit-name
