Skip to content

A nix expression to create a netboot k8s cluster of qemu instances.

Notifications You must be signed in to change notification settings

michas2/nix-qemu-kubeboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A nix expression to create a netboot k8s cluster of qemu instances.

If you have a bunch of underutilized workstations, run a master VM using this image. Then run worker VMs on the other workstations. The worker will simply netboot from the master, adding another node to the k8s cluster.

The run.sh script will help you with the correct qemu commands to run master and worker.

The main expression is image.nix, which creates the master image. It takes its config from master-config.nix, which incudes a netboot server serving the image defined in worker-config.nix.

KNOWN BUGS:

  • k8s nodes are not yet correctly connected
  • nodes probably need more direct networking connection
  • working completely in memory will probably not be enought

About

A nix expression to create a netboot k8s cluster of qemu instances.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published