-
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
machine-drivers/machine
minikube refactor
#16279
Comments
The process itself would be similar to the creation of the "kvm2" and "qemu2" drivers, that were adopted (from kvm and qemu). Except here we are talking about onboarding the entire libmachine, including any remaining external drivers...
done:
todo:
So those that import Some previous issues, about relocating and extending:
Some previous ideas of extending the API has included:
The "github.com/docker/machine/commands/mcndirs" is only used by boot2docker/rancheros provisioners. vendor/github.com/docker/machine |
Consider renaming the rpc binaries, from "docker-machine-driver-xxx" to "minikube-machine-driver-xxx" To show that it is not actually meant to be used with
Keep the separate binaries for linking purposes (shared libraries adding runtime dependencies) Even though the minikube fork of configuring is currently linking and hardcoding the flags anyway.
Note: qemu2 is compiled in (like virtualbox), since it doesn't have any library dependencies It was an external binary for docker-machine, since that was closed for contributions even then |
@spowelljr : one thing to consider, is if you want to keep support for the legacy docker tcp socket ? if you remove the handling of the certificates and only support the ssh socket, it would simplify things... None of the other container runtimes support Some legacy API clients are not supporting the So the usual workaround is to have the "machine" do the ssh tunneling of the unix socket now instead. But you could keep it around, for legacy compability - especially on the older Windows platforms And consider also supporting* the minikube apiserver 8443, in addition to the docker engine 2376 ? * currently there are some horrible qemu hacks for this, that would not be needed if the driver did it |
Make it resemble kubernetes#16279 more
Make it resemble kubernetes#16279 more
This comment was marked as outdated.
This comment was marked as outdated.
So this refactoring last year didn't happen, all I managed to do was to merge the qemu driver... Which was probably a mistake, so should revert that before it gets used in minikube (driver Apparently some docker-machine users are still using the gitlab fork, maybe have a look at that. But it is also going EOL (in 2024), so it is "frozen" in the same way as Docker Machine was (2019) |
Add external driver repository: https://github.com/minikube-machine/machine-driver-qemu Note that it contains the docker-machine driver (qemu), and not the minikube driver (qemu2) I think the other improvements can continue in the "machine" repo, and that this issue is Done. |
@afbjorklund I remember you talking in the past about essentially forking the machine-drivers/machine and removing all the stuff minikube doesn't use and just maintaining what we use. @x7upLime is interested in this as he was looking into improvements to the Docker provisioner.
Could you provide an outline of the process and any improvements you wanted this to resolve. Trying to centralize this info for others interested in this task.
The text was updated successfully, but these errors were encountered: