Removing otomi from the cluster #391
Replies: 3 comments 5 replies
-
Would the process become easier if all namespaces that are created through otomi are prepended with something like |
Beta Was this translation helpful? Give feedback.
-
It happened to me that istio did not remove mutating Webhooks. |
Beta Was this translation helpful? Give feedback.
-
The problem is that this practices are not yet established. For example what to do with CRD, it is obviously helm issue. |
Beta Was this translation helpful? Give feedback.
-
Description
Removing resources deployed by otomi is not a trivial issue and it turns out that removing helm releases is not always sufficient.
Upon succesfull
otomi destroy
execution there are many resources that are left over. These are :Procedure for removing left over resources
To wipe out otomi from the cluster I performed the following steps.
Removing namespaces and resource that are not managed by helm by still created by otomi:
The namespaces stuck in
Terminating
state due to finalisers that blocks it. I had to remove finalisers to unblock namespace removal.Removing CRDs:
Webhooks
Check if there are no Webhooks from istio/gatekeeper etc.
Zombie resources
If operator artefacts are deleted then operator needs some time to remove all related resources.
Unfortunately, the
otomi destroy
does not wait, thus some zombie Webhooks or other resource may be left in the cluster.Beta Was this translation helpful? Give feedback.
All reactions