bhouse-nexthop opened a new issue, #14778:
URL: https://github.com/apache/cloudstack/issues/14778

   ### Problem
   
   A CKS cluster created with `nodetemplates` set to a 
kubernetes-sigs/image-builder template gets its node userdata re-installing 
Kubernetes over what the template already provides:
   
   | Already on the template | What the userdata still does |
   |---|---|
   | kubeadm, kubelet, kubectl at the cluster's version | copies the ISO's 
binaries into `/opt/bin` |
   | kubelet unit with kubeadm's drop-in | writes its own kubelet unit pointing 
at `/opt/bin` |
   | CNI plugins, crictl | extracts them from the ISO again |
   | kubeadm's images in containerd | imports every image tarball from the ISO |
   
   The result is a second copy of every binary and a replaced kubelet unit, 
plus time spent importing images containerd already has.
   
   ### Expected
   
   When the template already has Kubernetes at the cluster's version, the node 
uses it and only adds what is missing (manifests, the non-kubeadm images). 
Nodes without a matching install keep the current behaviour.
   
   ### Versions
   
   4.22, KVM, Ubuntu 24.04 image-builder template.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to