Operator corrupted #948
-
Does someone know a way to clean up the resources and reinstall the rabbitmq operator from the beginning? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If you deployed any If you have any |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer, but what if the operator itself is corrupted and I am not able to delete it and clean the environment? |
Beta Was this translation helpful? Give feedback.
If you deployed any
RabbitmqCluster
object inrabbitmq-system
namespace, those might be there, terminating, blocked by a finalizer. You can check this by runningkubectl -n rabbitmq-system get rmq
. This can happen if you delete the namespace, with rabbit objects in it, because the Operator Pod exits before it can remove the finalizers from the rabbit objects. The same applies to objects created by the Messaging Topology Operator.If you have any
RabbitmqCluster
objects left, you can editkubectl edit rmq <name>
and remove thefinalizer
section. That should allow the deletion to proceed. Note that the namespace object might still need some time (2-3 minutes) after all leftover objects are …