1 Answer
- Newest
- Most votes
- Most comments
5
Hello,
please look at my solution it will be helpful for you.
To prevent kubelet, kubeadm, and kubectl from being automatically updated during system upgrades on your AWS Ubuntu server, you can utilize the apt-mark hold command. This command "holds" the specified packages at their current versions, preventing them from being upgraded by apt-get or similar package management commands.
$ sudo apt-mark hold kubelet kubeadm kubectl
After executing this command, kubelet, kubeadm, and kubectl will remain at their current versions and will not be updated automatically during system upgrades.
You can use this Kuberentes.io link if you get more information:
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/
Relevant content
- asked 2 years ago
- asked 9 months ago
- AWS OFFICIALUpdated 9 months ago

thank you for your prompt response...it is really helpful.