Chapter 11. Uninstalling AMQ Streams
This procedure describes how to uninstall AMQ Streams and remove resources related to the deployment.
Prerequisites
In order to perform this procedure, identify resources created specifically for a deployment and referenced from the AMQ Streams resource.
Such resources include:
- Secrets (Custom CAs and certificates, Kafka Connect secrets, and other Kafka secrets)
-
Logging
ConfigMaps(of typeexternal)
These are resources referenced by Kafka, KafkaConnect, KafkaConnectS2I, or KafkaMirrorMaker configuration.
Procedure
Delete the cluster operator
Deployment, relatedCustomResourceDefinitions, andRBACresources:oc delete -f install/cluster-operator
oc delete -f install/cluster-operatorCopy to Clipboard Copied! Toggle word wrap Toggle overflow WarningDeleting
CustomResourceDefinitionsresults in the garbage collection of the corresponding custom resources (Kafka,KafkaConnect,KafkaConnectS2I, orKafkaMirrorMaker) and the resources dependent on them (Deployments, StatefulSets, and other dependent resources).- Delete the resources you identified in the prerequisites.