-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add multi-node support for QEMU #14527
Comments
That's actually just a warning, the true error is: The QEMU driver is quite new and has many currently unsupported features, and it seems based on your experience that multi-node is one of those features. I added this to our QEMU know issues list #14146 and we will add support for it when we have the time and resources to do so. |
It needs a different network, such as vde (or tap) https://github.com/lima-vm/vde_vmnet The "user" network only supports a single host, and very limited at that (no public ip address, needs tunneling) |
I believe it's more than the qemu2 driver only issue, I tried hyperkit with the very similar result. Thanks. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Interestingly enough, multi-node seems to work on my M1 with 3 nodes and ❯ minikube version ❯ minikube config view
- memory: 16384
- container-runtime: containerd
- cpus: 6
- driver: qemu2 ❯ minikube start -n 3
😄 minikube v1.30.1 on Darwin 13.4 (arm64)
✨ Using the qemu2 driver based on user configuration
🌐 Automatically selected the socket_vmnet network
👍 Starting control plane node minikube in cluster minikube
🔥 Creating qemu2 VM (CPUs=6, Memory=16384MB, Disk=20000MB) ...
🐳 Preparing Kubernetes v1.26.3 on Docker 20.10.23 ...
▪ Generating certificates and keys ...
▪ Booting up control plane ...
▪ Configuring RBAC rules ...
🔗 Configuring CNI (Container Networking Interface) ...
▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟 Enabled addons: storage-provisioner, default-storageclass
🔎 Verifying Kubernetes components...
👍 Starting worker node minikube-m02 in cluster minikube
🔥 Creating qemu2 VM (CPUs=6, Memory=16384MB, Disk=20000MB) ...
🌐 Found network options:
▪ NO_PROXY=192.168.105.24
🐳 Preparing Kubernetes v1.26.3 on Docker 20.10.23 ...
▪ env NO_PROXY=192.168.105.24
🔎 Verifying Kubernetes components...
👍 Starting worker node minikube-m03 in cluster minikube
🔥 Creating qemu2 VM (CPUs=6, Memory=16384MB, Disk=20000MB) ...
🌐 Found network options:
▪ NO_PROXY=192.168.105.24,192.168.105.25
🐳 Preparing Kubernetes v1.26.3 on Docker 20.10.23 ...
▪ env NO_PROXY=192.168.105.24
▪ env NO_PROXY=192.168.105.24,192.168.105.25
🔎 Verifying Kubernetes components...
🏄 Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default ❯ kubectl get nodes
NAME STATUS ROLES AGE VERSION
minikube Ready control-plane 2m31s v1.26.3
minikube-m02 Ready <none> 118s v1.26.3
minikube-m03 Ready <none> 89s v1.26.3 Well, at least the cluster starts up. I'll play around with this a bit more. |
I would like to confirm that multi-node |
What Happened?
Tried to start the brand new minikube cluster
$ minikube start -n 3 --driver qemu2
...
stderr:
W0708 07:41:05.949053 1157 initconfiguration.go:120] Usage of CRI endpoints without URL scheme is deprecated and can cause kubelet errors in the future. Automatically prepending scheme "unix" to the "criSocket" with value "/var/run/cri-dockerd.sock". Please update your configuration!
[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'
error execution phase preflight: couldn't validate the identity of the API Server: Get "https://control-plane.minikube.internal:8443/api/v1/namespaces/kube-public/configmaps/cluster-info?timeout=10s": dial tcp 10.0.2.15:8443: connect: connection refused
Attach the log file
logs.txt
Operating System
macOS (Default)
Driver
N/A
The text was updated successfully, but these errors were encountered: