You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The serial console name depends on the driver. We had setting for qemu
that does not work for vfkit and krunkit, breaking boot from minikube
iso.
Fixed by using 2 console= options, one is known to work for qemu, and
one for vfkit and krunkit. With this we can use the same iso image with
qemu, vfkit, and krunkit.
This will allow simplifying vfkit driver. Previously we had to extract
the kernel and initrd and start it using the legacy --kernel,
--kernel-cmdline and --initrd options.
I tested this by building the iso with this fix and running with
--iso-url.
Example run with qemu:
% minikube start -p qemu --driver qemu --container-runtime containerd \
--iso-url file://$PWD/minikube-arm64.iso
π [qemu] minikube v1.36.0 on Darwin 15.5 (arm64)
β¨ Using the qemu2 driver based on user configuration
π Automatically selected the socket_vmnet network
π Starting "qemu" primary control-plane node in "qemu" cluster
π₯ Creating qemu2 VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
π¦ Preparing Kubernetes v1.33.1 on containerd 1.7.23 ...
βͺ Generating certificates and keys ...
βͺ Booting up control plane ...
βͺ Configuring RBAC rules ...
π Configuring bridge CNI (Container Networking Interface) ...
π Verifying Kubernetes components...
βͺ Using image gcr.io/k8s-minikube/storage-provisioner:v5
π Enabled addons: default-storageclass, storage-provisioner
π Done! kubectl is now configured to use "qemu" cluster and "default" namespace by default
Example run with krunkit:
% minikube start -p krunkit --driver krunkit --container-runtime containerd \
--iso-url file://$PWD/minikube-arm64.iso
π [krunkit] minikube v1.36.0 on Darwin 15.5 (arm64)
β¨ Using the krunkit (experimental) driver based on user configuration
π Starting "krunkit" primary control-plane node in "krunkit" cluster
π₯ Creating krunkit VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
π¦ Preparing Kubernetes v1.33.1 on containerd 1.7.23 ...
βͺ Generating certificates and keys ...
βͺ Booting up control plane ...
βͺ Configuring RBAC rules ...
π Configuring bridge CNI (Container Networking Interface) ...
π Verifying Kubernetes components...
βͺ Using image gcr.io/k8s-minikube/storage-provisioner:v5
π Enabled addons: default-storageclass, storage-provisioner
π Done! kubectl is now configured to use "krunkit" cluster and "default" namespace by default
0 commit comments