https://bugzilla.suse.com/show_bug.cgi?id=1214406 https://bugzilla.suse.com/show_bug.cgi?id=1214406#c10 --- Comment #10 from Egbert Eich <eich@suse.com> --- (In reply to Priyanka Saggu from comment #8)
Hey Egbert, I've raised the following SRs:
- cri-o ~ https://build.opensuse.org/request/show/1108439 - kubernetes1.27 ~ https://build.opensuse.org/request/show/1108445 - containerd ~ https://build.opensuse.org/request/show/1108423
With these changes, I was able to have a successful `kubeadm init` run!
Cool! We should actually get the OpenQA tests going once there is a version which works in manual testing.
# Although - before `kubeadm init`, I had to manually load the kernel modules (doing that in %post scriptlet didn't work, it complained for modprobe not found. Nor did adding it as `ExecStartPre=` in 10-kubeadm.conf work. I'll explore more options)
Ok, did you specify the full path to modprobe (ie /sbin/modprobe)? Usually, %pre/%post install scripts do so. The same is true with `ExecStartPre=`: grepping through /usr/lib/systemd/system I find multiple examples with: `ExecStartPre=-/sbin/modprobe ...` so it should be expected to work. (In reply to Priyanka Saggu from comment #9)
Also, I'm yet to fix - "updating the `KUBELET_VER=x.yz` in `/etc/sysconfig/kubelet` file" on a new kubernetes version installation (after an existing kubernetes installation).
Looks like the `fillup` semantics should support this: `/bin/fillup -x /etc/sysconfig/kubelet /usr/share/fillup-templates/sysconfig.kubelet-kubernetes1.27` Unfortunately, there is no convenience macro for this - like the SUSE-bespoke %fillup_only macro. -- You are receiving this mail because: You are on the CC list for the bug.