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

add-option-to-disable-k8s-client-cache #1210

Merged
merged 7 commits into from
Nov 15, 2023

Conversation

calvix
Copy link
Contributor

@calvix calvix commented Nov 14, 2023

the client cache does not work for EKS as the kubeconfig is pretty short-lived (around 10-15 minutes) and the caching interval is 10 minutes as well so if the app-operator caches the kubeconfig very close to the EKS kubeconfig expiration then there is a situation that the app operator cannot work for several minutes, in E2E CI its around 5-8 minutes, this breaks e2e for EKS

towards giantswarm/roadmap#2820

I assume same thing affect the imported EKS clusters

@calvix calvix self-assigned this Nov 14, 2023
KubeConfigPath string
TLS tls.TLS
Watch watch.Watch
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file was previously imported from operatorkit repo but since we need the extra property DisableClientCache string i redeclared it here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would normally ask to make the change in operatorkit, but since operatorkit is not developed and won't be used anymore soon I guess it's ok

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was my thinking as well

@calvix calvix marked this pull request as ready for review November 14, 2023 19:44
@calvix calvix requested a review from a team as a code owner November 14, 2023 19:44
@calvix calvix requested a review from a team November 14, 2023 19:44
Copy link

@mproffitt mproffitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@calvix calvix merged commit 8705d0b into master Nov 15, 2023
13 checks passed
@calvix calvix deleted the add-option-to-disable-k8s-client-cache branch November 15, 2023 08:11
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

Successfully merging this pull request may close these issues.

3 participants