Skip to content

allow pod controller config overrides#1309

Open
alec-rabold wants to merge 1 commit intovirtual-kubelet:mainfrom
alec-rabold:feature/pod-controller-config-overrides
Open

allow pod controller config overrides#1309
alec-rabold wants to merge 1 commit intovirtual-kubelet:mainfrom
alec-rabold:feature/pod-controller-config-overrides

Conversation

@alec-rabold
Copy link
Copy Markdown

Allow overriding pod controller config options

Current use-case is for SyncPodsFromKubernetesRateLimiter+SyncPodsFromKubernetesShouldRetryFunc -- specifically to infinitely retry for certain errors instead of stopping at 20 attempts (e.g. similar to ImagePullBackoff)

@alec-rabold alec-rabold force-pushed the feature/pod-controller-config-overrides branch from b7b4410 to 7a5eacc Compare June 16, 2025 20:52
@alec-rabold alec-rabold marked this pull request as ready for review June 16, 2025 20:55
@pires pires force-pushed the feature/pod-controller-config-overrides branch from c387bd7 to 4dd3606 Compare September 9, 2025 18:33
@pires pires added enhancement help wanted go Pull requests that update Go code kind/feature labels Sep 9, 2025
@pires pires self-assigned this Sep 9, 2025
@pires pires self-requested a review September 9, 2025 18:34
@pires pires removed their assignment Sep 9, 2025
@pires
Copy link
Copy Markdown
Member

pires commented Sep 9, 2025

This breaks code badly :-(

pires
pires previously requested changes Oct 30, 2025
Copy link
Copy Markdown
Member

@pires pires left a comment

Choose a reason for hiding this comment

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

This breaks code badly :-( Please, fix.

@pires
Copy link
Copy Markdown
Member

pires commented Jan 27, 2026

@alec-rabold did you end up using these changes in your provider? It seems the changes are incomplete and it would be great to consider this for inclusion soon 🙏🏻

@alec-rabold
Copy link
Copy Markdown
Author

@alec-rabold did you end up using these changes in your provider? It seems the changes are incomplete and it would be great to consider this for inclusion soon 🙏🏻

hey @pires sorry for the delay, we ended up not using this specific config but I do think it would still be beneficial; I'll spend some time today fixing this up to pass the unit/e2e tests

@alec-rabold alec-rabold force-pushed the feature/pod-controller-config-overrides branch from 4dd3606 to ede3100 Compare January 28, 2026 07:06
@alec-rabold alec-rabold changed the base branch from master to main January 28, 2026 07:07
@alec-rabold
Copy link
Copy Markdown
Author

updated! (and verified the unit tests and e2e suite passes) I don't love the nested options style I've added, but should work

@pires pires self-requested a review January 28, 2026 14:55
@pires pires dismissed their stale review February 5, 2026 14:24

stale

@njuCZ
Copy link
Copy Markdown
Contributor

njuCZ commented Feb 26, 2026

kindly ping, what's the status of this PR? This PR would be helpful to customize rate limit and decrease the latency when there is a lot of pods to handle. @pires

@pires
Copy link
Copy Markdown
Member

pires commented Feb 26, 2026

I need to digest this further as it breaks the current API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement go Pull requests that update Go code help wanted kind/feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants