logo
Alauda Streaming Service for RabbitMQ
logo
Alauda Streaming Service for RabbitMQ
Navigation
Introduction
Release Notes
Lifecycle Policy
Install
Upgrade
Architecture
Concepts

Guides

Create Instance
Delete Instance
User Management
Parameter Configuration
Access Methods
Update Specification
Scheduling Configuration
Monitoring and Alerts
Log
Start & Stop Instance
Restart Instance

HowTo

Client Connection
Patch Version Upgrade

Plugin

Using RabbitMQ Management UI
Permissions

API Reference

Kubernetes APIs

RabbitMQ APIs

RabbitMQ
📝 Edit this page on GitHub
Previous PageCreate Instance
Next PageUser Management

#Delete Instance

Deleting an instance will not only remove the created CR resources but also delete the StatefulSet, Service, ConfigMap, Secret, PersistentVolumeClaim, and other resources created by RabbitMQ based on the CR resources.

#TOC

#Procedure

CLI
Web Console

If the instance has not been configured for persistence, or if you need to retain the instance's persistent data, execute the following command to delete the instance:

# delete rabbitmq instance directly
$ kubectl -n default delete rabbitmqclusters <Instance Name>

By default, deleting the instance will not remove the created PVC. You can use the following command to delete it:

$ kubectl -n default delete pvc -l app.kubernetes.io/component=rabbitmq,app.kubernetes.io/part-of=rabbitmq,app.kubernetes.io/name=<Instance Name>