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
overwrite known targets in patch manager cache in case it changes #110442
Conversation
/priority important-soon |
/triage accepted |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neolit123, pacoxu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
thanks! |
looks like the kinder join is failing: problem seems to be we are passing a JoinConfiguration.Patches but the directory does not exist on worker nodes:
|
there are still problems in:
i think what happens is that during the kubelet start phase only the kubeletconfiguration patch target is loaded and the rest are not when patches are to be applied to control plane manifests. one fix would be to store all known targets in a single place (e.g. alternatively make patch managers re-read patch files via a new function on demand (e.g. |
I make static pod known targets public and change app phases.
I will test locally first. |
https://testgrid.k8s.io/sig-cluster-lifecycle-kubeadm#kubeadm-kinder-patches-latest |
What type of PR is this?
/kind bug
What this PR does / why we need it:
#110405 add a new calling for
GetPatchManagerForPath
and there is a cache patch manager map which is used in PatchStaticPod as well with different known targest.Which issue(s) this PR fixes:
https://testgrid.k8s.io/sig-cluster-lifecycle-kubeadm#kubeadm-kinder-latest-on-1-24
Special notes for your reviewer:
Does this PR introduce a user-facing change?