Skip to content

Simplify the names of the minikube machine drivers #22382

@afbjorklund

Description

@afbjorklund

With the docker-machine drivers gone, there is no need for "kvm2" and "qemu2" any more.

And there is no need for "generic" or "none" either, the drivers can be renamed in minikube.

  • kvm
  • ssh (renamed from "generic")
  • native (renamed from "none")
  • qemu
	// AliasKVM is driver name alias for kvm2
	AliasKVM = "kvm"
	// AliasSSH is driver name alias for ssh
	AliasSSH = "generic"
	// AliasNative is driver name alias for None driver
	AliasNative = "native"
	// AliasQEMU is the driver name alias for qemu2
	AliasQEMU = "qemu"

Previously, kvm1 and qemu1 were the drivers used for docker-machine.

We tried to rename "kvm" to libvirt for sanity, but that name failed to stick.


This change doesn't really affect anything that is user-facing, it is more of a refactoring.

Currently the real name is used as an alias, to the old libmachine-compatible driver name.

If changed, the situation would be more like the opposite (old name an alias, to the new name)

It is also not very important, both generic and none driver require special care in their setup...

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions