SAL for VM's #26

Open
opened 2025-08-20 07:47:49 +00:00 by despiegk · 2 comments
Owner

Rhai SALS with following features

  • CloudHypervisor start/stop/list/create/delete VM's on top of QCow2 with snapshots
  • QCow2 management snaphot/create/... build Ubuntu 24.04, Alpine then run in CHV

features

  • insert set of ssh keys and/or root/passwd combination and make sure root can login
  • rhai script interface, runs from runner
  • info which needs to be remembered remember in local herodb (metadata), need rhaj scripts to work with those
  • work with slices local computer partitioned in 1 GB slices (max of 16 per computer)
  • is only working on local basis, has no notion of anything out of the node
  • allow zinit/supervisor/ourdb to be started automatically with a secret

if time

  • firecracker VM's as faster backend for short living
  • test with mycelium & herorunner/supervisor on top of zeros (supervisor runs in zinit) so we can remote use it
Rhai SALS with following features - CloudHypervisor start/stop/list/create/delete VM's on top of QCow2 with snapshots - QCow2 management snaphot/create/... build Ubuntu 24.04, Alpine then run in CHV ## features - insert set of ssh keys and/or root/passwd combination and make sure root can login - rhai script interface, runs from runner - info which needs to be remembered remember in local herodb (metadata), need rhaj scripts to work with those - work with slices local computer partitioned in 1 GB slices (max of 16 per computer) - is only working on local basis, has no notion of anything out of the node - allow zinit/supervisor/ourdb to be started automatically with a secret ## if time - firecracker VM's as faster backend for short living - test with mycelium & herorunner/supervisor on top of zeros (supervisor runs in zinit) so we can remote use it
maximevanhees was assigned by despiegk 2025-08-20 07:47:57 +00:00
lee was assigned by despiegk 2025-08-20 07:48:03 +00:00
Author
Owner
  • overprovisioning for disk qcow and cpu cores
- overprovisioning for disk qcow and cpu cores
despiegk changed title from SAL for VM & Kubernetes to SAL for VM's 2025-08-20 09:12:53 +00:00
Author
Owner

ideas to explore

  • image has zinit inside
  • snapshot qcow2A -> gives new qcow2B with certain max size
  • mount qcow2B on path lets say /mnt/B
  • in /mnt/B copy the files you want e.g. herodb, supervisor, zinit
  • put the zinit config

params

  • slice nr's
  • zinit config
  • which cmd's to copy into the vm (its a pre understood list)
ideas to explore - image has zinit inside - snapshot qcow2A -> gives new qcow2B with certain max size - mount qcow2B on path lets say /mnt/B - in /mnt/B copy the files you want e.g. herodb, supervisor, zinit - put the zinit config params - slice nr's - zinit config - which cmd's to copy into the vm (its a pre understood list)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: herocode/herolib_rust#26
No description provided.