Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

KubeFed controller stop working when there are KubeFedClusters with malformed configs whose previous status is ready #1475

Closed
zqzten opened this issue Nov 12, 2021 · 3 comments · Fixed by #1476
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@zqzten
Copy link
Contributor

zqzten commented Nov 12, 2021

What happened:
We accidentally deleted a Secret of one KubeFedCluster which is ready previously. After that, we found that KubeFed controller stop working due to an informer sync check error The number of target informers mismatch with given clusters. This is because the KubeFedCluster with malformed config is still in Ready state but the controller cannot create a REST client for it.

What you expected to happen:
KubeFedClusters with malformed config should turn into a non-ready condition in order not to block the whole controller.

How to reproduce it (as minimally and precisely as possible):
Delete any ready KubeFedCluster's Secret then restart KubeFed controller.

/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Nov 12, 2021
@zqzten
Copy link
Contributor Author

zqzten commented Nov 12, 2021

/assign

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 10, 2022
@zqzten
Copy link
Contributor Author

zqzten commented Feb 10, 2022

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants