minikube/cmd
Nir Soffer 041363a784 krunkit: Add krunkit driver
krunkit is a tool to launch configurable virtual machines using the
libkrun platform, optimized for GPU accelerated virtual machines and AI
workloads on Apple silicon.

It is mostly compatible with vfkit; the driver is a simplified copy of
the vfkit driver. Unlike vfkit, krunkit is available only on Apple
silicon.

Changes compared to vfkit driver:
- krunkit requires unix socket for netwroking, so we must use
  vment-helper.
- krunkit can be controlled only via HTTP, not via unix socket.
- krunkit does not support HardStop so we need to use SIGKILL.
- krunkit does not support --kernel-cmdline
- We must enable vmnet offloading, required for krunkit.
- The code was simplified since vmnet-helper is always used
- Code was cleaned up to use .ResolveStorePath()

Limitations:
- Only one machine can be created since we use the same port for krunkit
  --restful-uri. This should be fixed to use an unused port, or use a
  unix socket when unix socket is supported[1].

[1] https://github.com/containers/krunkit/issues/47
2025-06-07 22:24:19 +03:00
..
auto-pause fix new lint errors 2024-08-14 10:31:53 -07:00
drivers remove old build tags 2022-03-30 16:43:29 -07:00
extract moving checks to their relevant stops so unit tests work 2019-07-15 13:38:12 -07:00
gvisor Enable gvisor addon in minikube (#3399) 2018-12-07 15:27:22 -08:00
minikube krunkit: Add krunkit driver 2025-06-07 22:24:19 +03:00
performance fix lint errors 2024-02-12 17:32:14 -08:00
storage-provisioner Switching from glob library to klog library. 2020-09-29 15:49:41 -07:00