Skip to content

Support the "generic" driver, for user provided VMs #4733

@afbjorklund

Description

@afbjorklund

Some users don't want to use minikube to set up their virtual machine,
but prefer to provide their own pre-installed VM (with a standard distro).

We should support this scenario, and offer to install Kubernetes on it...
This way they can still get started locally, and also with a physical server.

These parameters are required: (defaults)

  • IP Address
  • SSH User (root)
  • SSH Key
  • SSH Port (22)

The provided user is supposed to have sudo rights, and all OS requirements.

User does not have to install docker or kubeadm, this will be done by "start":

The distribution should be one of the ones supported by machine/kubeadm:

  • Ubuntu 16.04+
  • Debian 9
  • CentOS 7+
  • RHEL 7

The server also needs to meet the minimum HW requirements (2 CPUs, 2000M Memory)

See https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/


Update: For now I think that Ubuntu 16.04 and CentOS 7 will be plenty, one deb and one rpm ?

They are also supported by all tools, and are the same platforms that kubectl/kubeadm targets:

"xenial" = Ubuntu 16.04

deb https://apt.kubernetes.io/ kubernetes-xenial main

"el7" = RHEL/CentOS 7

https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64

Other Linux distributions could work, but is not something that I want to support downstream.

Eventually we might support Ubuntu 18.04 and CentOS 8, but probably not until later (2020?)

Note that Fedora 28 could be used for testing, until CentOS 8 has been released. "Close enough".
(See https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux#Relationship_with_Fedora for details)

  • Ubuntu 16.04 LTS (xenial)
  • Ubuntu 18.04 LTS (bionic)
  • CentOS 7 / Fedora 18
  • CentOS 8 / Fedora 28

Metadata

Metadata

Assignees

Labels

co/generic-driverhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/backlogHigher priority than priority/awaiting-more-evidence.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions