Kernel version is not getting upgraded #322
Unanswered
MANUDEV-H-MENON
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am planning to upgrade kernel versions of node using system-upgrade-controller.
Steps taken for kernel upgrade
1.Run below files to install system upgrade controller
kubectl apply -f https://github.com/rancher/system-upgrade-controller/releases/latest/download/system-upgrade-controller.yaml
(Ensure crds are installed first if not run kubectl apply -f https://github.com/rancher/system-upgrade-controller/releases/latest/download/crd.yaml )
Configure node with label kernel-upgrade=true
3.Configure a plan and secret for kernel upgrade
This shall execute the jobs and upgrade the kernel.
But it is not rebooting because if condition is not getting true.
New kernel packages are installed, but it is not reflected unless and until reboot occurs.
May i know why this happens ? initially on package update if condition should work.
Only manual reboot is helping to change the version.
I had explicitly gave reboot command outside if condition in upgrade.sh script.
Then Host master node where job is executing , is getting log out and does infinite time start and restart.
any suggestion that will this reboot and kernel upgrade works without disconnecting from host ?
I have taken reference from here : https://github.com/rancher/system-upgrade-controller/blob/master/examples/ubuntu/bionic/linux-kernel-virtual-hwe-18.04.yaml
Beta Was this translation helpful? Give feedback.
All reactions