Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load Balancer instances get stuck if deleted and operator is not running #5

Open
carlosedp opened this issue May 9, 2021 · 0 comments

Comments

@carlosedp
Copy link
Owner

Describe the bug

If you try do delete the Load Balancer instances applied to your cluster and the operator pod or application is not running, the CRs get stuck because of finalizers and are not deleted until the operator runs.

To override this, patch the CRs removing the finalizer with the command kubectl patch externalloadbalancers externalloadbalancer-infra-sample -n lbconfig-operator-system -p '{"metadata":{"finalizers":[]}}' --type=merge using your CR name.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy the operator
  2. Create CRDs for a LB instance and a backend (with secret)
  3. Stop/remove the operator PODs
  4. Delete the LB CRs

Expected behavior
The CRs should be deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant