-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
KubeConfigPath string | ||
TLS tls.TLS | ||
Watch watch.Watch | ||
} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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