Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add MountPoint option to AdditionalVolumes #254

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

Callisto13
Copy link
Member

@Callisto13 Callisto13 commented Jan 6, 2023

And update templates to use a dedicated binary image for kernel.image
and an additional volume to provide the modules.

In line with changes to our image-builder pipeline, which removes the
embedded kernel modules from the OS image, this feature adds an option
to include modules as an additional volume.

Old images will remain available to not break those using
earlier versions.

Part of liquidmetal-dev/image-builder#49

@Callisto13 Callisto13 added the kind/feature New feature or request label Jan 6, 2023
@Callisto13 Callisto13 force-pushed the module-mounts branch 2 times, most recently from 5f06488 to 0409290 Compare January 10, 2023 13:36
@Callisto13 Callisto13 changed the title feat: Include kernel modules as AdditionalVolumes feat: Add MountPoint option to AdditionalVolumes Jan 10, 2023
@Callisto13
Copy link
Member Author

Validated cluster can start with this config:

rootVolume:
  id: root
  image: "docker.io/claudiaberesford/capmvm-k8s-os:1.23.5"
kernel:
  filename: "boot/vmlinux"
  image: "docker.io/claudiaberesford/kernel-bin:5.10.77"
volumes:
- id: modules
  image: "docker.io/claudiaberesford/kernel-modules:5.10.77"
  mountPoint: /lib/modules/5.10.77

@Callisto13 Callisto13 marked this pull request as ready for review January 12, 2023 12:18
yitsushi
yitsushi previously approved these changes Jan 12, 2023
@Callisto13
Copy link
Member Author

sorry @yitsushi i saw a mistake :p

yitsushi
yitsushi previously approved these changes Jan 12, 2023
richardcase
richardcase previously approved these changes Jan 12, 2023
Copy link
Member

@richardcase richardcase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 🧙‍♀️

And update templates to use a dedicated binary image for `kernel.image`
and an additional volume to provide the modules.

In line with changes to our image-builder pipeline, which removes the
embedded kernel modules from the OS image, this feature adds an option
to include modules as an additional volume.

Old images will remain available to not break those using
earlier versions.
@Callisto13 Callisto13 merged commit e3c0b30 into liquidmetal-dev:main Jan 17, 2023
@Callisto13 Callisto13 deleted the module-mounts branch January 17, 2023 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants