Skip to content

Commit

Permalink
cluster-level lock for workload cluster client initialization
Browse files Browse the repository at this point in the history
Before this commit, workload cluster client initialization required
a global lock to be held. If initialization of a single workload cluster
client took time, all other reconcile-loops who require a workload cluster
connection were blocked until initialization finished. Initialization
of a workload cluster client can take a significant amount of time,
because it requires to initialize the discovery client, which sends
multiple request to the API-server.

With this change initialization of a workload cluster client only
requires to hold a lock for the specific cluster. This means
reconciliation for other clusters is not affected by a long running
workload cluster client initialization.
  • Loading branch information
Florian Gutmann committed May 26, 2022
1 parent b06fd57 commit 35b554f
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 3,128 deletions.

0 comments on commit 35b554f

Please sign in to comment.