nestybox / sysbox-pkgr

Sysbox-pkgr repository
5 stars 14 forks source link

Skip installing shiftfs module in K8S daemonset when kernel is >= 5.19 #115

Closed detjensrobert closed 1 year ago

detjensrobert commented 1 year ago

This PR tweaks the daemonset deploy and installer helper scripts to skip copying and building shiftfs if the host kernel is 5.19+. As Shiftfs is not required by Sysbox on these versions, deploying and installing shiftfs here will block installations on hosts using a newer kernel than what the bundled module supports.

Coupled with #114, this allows Sysbox to be installed on DigitalOcean's managed Kubernetes, which use Debian 12 nodes on kernel 6.1.