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

Auto-detect overloads Kubernetes API #23

Open
jnodorp-jaconi opened this issue Oct 21, 2024 · 0 comments
Open

Auto-detect overloads Kubernetes API #23

jnodorp-jaconi opened this issue Oct 21, 2024 · 0 comments

Comments

@jnodorp-jaconi
Copy link

Describe the bug

The auto-detect feature performs 6 requests against the Kubernetes API every 5 Seconds, requesting all Kubernetes API resources. This is made worse when the Kubernetes API server has many custom resources (for example, when using Google Cloud Config Connector.

Version

1.0.0

Expected behavior

The keycloak-realm-operator should perform a reasonable amount of requests against the Kubernetes API.

Actual behavior

The keycloak-realm-operator puts a lot of load on the Kubernetes API.

How to Reproduce?

No response

Anything else?

Some additional observation:

The auto-detect feature checks features that should change rarely, if ever. Performing these request every five Seconds is excessive.

I'll happily provide a PR with a fix, if this is considered a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant