add options to configure k8s client qps/burst#28151
Conversation
|
This pull request does not have a backport label. Could you fix it @newly12? 🙏
NOTE: |
💚 Build Succeeded
Expand to view the summary
Build stats
❕ Flaky test reportNo test was executed to be analysed. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
|
Pinging @elastic/integrations (Team:Integrations) |
|
/test |
| } | ||
|
|
||
| client, err := kubernetes.GetKubernetesClient(config.KubeConfig) | ||
| client, err := kubernetes.GetKubernetesClient(config.KubeConfig, nil) |
There was a problem hiding this comment.
Why we don't add the options here too?
There was a problem hiding this comment.
good cache. Let me check how this should be done.
ChrsMark
left a comment
There was a problem hiding this comment.
Nice, thank you for working on this! I would consider it mergeable if we have changelogs for beats and agent as well as the respective documentation parts to expose the settings to the users :).
|
@ChrsMark Thanks for checking. Docs are updated. I've moved qps/burst options to |
ChrsMark
left a comment
There was a problem hiding this comment.
LGTM! Thank you for adding this, really valuable!
|
/test |
|
/test |
|
CI failure is unrelated, I will merge this one. Thank you @newly12 again! |
Enhancement
What does this PR do?
add options to configure k8s client qps/burst
Why is it important?
Accelerate autodiscover pod event processing
Checklist
I have commented my code, particularly in hard-to-understand areasI have added tests that prove my fix is effective or that my feature worksCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs