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

Unexpected deletion of pods in the shared master/seed KKP cluster #13392

Open
cnvergence opened this issue May 10, 2024 · 1 comment
Open

Unexpected deletion of pods in the shared master/seed KKP cluster #13392

cnvergence opened this issue May 10, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@cnvergence
Copy link
Member

What happened?

After installation of the shared master/seed KKP environment in AWS, deleting seed CRD from the cluster resulted in clean up of all resourced from kubermatic namespace, including master components.

Expected behavior

The operator should be aware of the shared environment and not clean up pods that are part of the master KKP.

How to reproduce the issue?

Having installed the shared KKP environment, delete seed CRD from the cluster and observe the deletion of pods in kubermatic namespace.

How is your environment configured?

  • KKP version: 2.24.6
  • Shared or separate master/seed clusters?: shared

What cloud provider are you running on?

AWS

@cnvergence cnvergence added the kind/bug Categorizes issue or PR as related to a bug. label May 10, 2024
@xrstf
Copy link
Contributor

xrstf commented May 22, 2024

This is surprising, the operator should be able to handle such cases just fine. Just from glancing at the code I'm also wondering how this could even happen. There is no code in KKP's operator to delete the Deployments.. The kkp-master-controller-manager Deployment is owned by the KubermaticConfiguration, so only if that is removed, should the Deployment be GC'ed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants