Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.
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

@zqzten

Description

@zqzten

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

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions