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

Guides

Create Instance
Delete Instance
User Management
Topic Management
Parameter Configuration
Update Scheduling Configuration
Monitoring and Alerts
Log
Restart Instance
Start and Stop Instance

HowTo

Specification Changes
Choosing Connection Address and Configuring Connection Method
Patch Version Upgrade
Client File Configuration
Permissions

API Reference

Kubernetes APIs

Kafka APIs

RdsKafka
RdsTopic
RdsKafkaUser
📝 Edit this page on GitHub
Previous PageCreate Instance
Next PageUser Management

#Delete Instance

Deleting an instance not only removes the created CR resources but also deletes the StatefulSet, ConfigMap, Secret, PersistentVolumeClaim, and other resources created by the Operator based on the CR resource.

#TOC

#Procedure

CLI
Web Console
  • If the instance is not enabled for persistence, or if you need to retain the instance's persistent data, execute the following command to delete the instance:

    # delete kafka instance directly
    kubectl delete -n <namespace> rdskafka <name>
  • If you want to delete the instance along with its persistent volume claim, execute the following commands:

    # delete kafka instance directly
    kubectl delete -n <namespace> rdskafka <name>
    
    # patch delete pvc
    kubectl delete -n <namespace> pvc -l strimzi.io/cluster=<name>,strimzi.io/kind=Kafka