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

Remove kube-proxy static pod manifest during agent bootstrap #5619

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

brandond
Copy link
Contributor

@brandond brandond commented Mar 14, 2024

Proposed Changes

Clean up kube-proxy during agent bootstrap

If the static pod manifest isn't present during kubelet startup, it won't try to reconcile it until later, after the apiserver is up - which should address whatever weird race condition we've been running into with the volume mounts.

I haven't been able to figure out where exactly in the guts of the kubelet PLEG reconcile loop the volume mounts are getting mangled; all I know is that it appears to be a race condition between the kubelet reading the static pod manifest, and finding the mirror pod from the apiserver. Best we can do is try to avoid triggering it I guess.

Types of Changes

bugfix

Verification

See linked issue

Testing

Linked Issues

User-Facing Change

Further Comments

@brandond brandond requested a review from a team as a code owner March 14, 2024 23:24
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
@brandond brandond force-pushed the delay-kube-proxy-static-pod branch from a1fbc66 to 93af5cc Compare March 14, 2024 23:38
@brandond brandond changed the title Clean up kube-proxy during agent bootstrap Remove kube-proxy static pod manifest during agent bootstrap Mar 15, 2024
@brandond brandond merged commit 6566d01 into rancher:master Mar 22, 2024
2 checks passed
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.

None yet

3 participants