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

[BUG]Cluster deletion stuck while addon defined preTerminate but pod couldn't startup #8679

Open
lancelot1989 opened this issue Dec 20, 2024 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@lancelot1989
Copy link
Contributor

image

kb version: 1.0.0-beta.13

In KB 1.0, preTerminate is execute by kb-agent through http call by cmp-controller, if kb-agent can't startup at all(like initContainer error or container image pull error), cmp-controller will stuck as preTerminate can't be finished. And this will stuck the whole cluster lifecycle.

Steps to reproduce the behavior:

  1. pick an addon defined preTerminate action, like mysql
  2. use an error image repo or image path in initContainer
  3. create cluster
  4. the cluster can not startup, as pod can not initialized
  5. delete cluster
  6. cluster and cmp will stuck
@lancelot1989 lancelot1989 added the kind/bug Something isn't working label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants