Install Kubeflow on Ubuntu

Create and train machine learning models on your laptop, in your data center, or in the cloud.

How to deploy Kubeflow

If you already have Ubuntu or another Linux, the following instructions are all you need. However, if you are on Windows or Mac, consider using Multipass to easily create an Ubuntu VM to work with.

Kubeflow runs on top of Kubernetes. Visit our Kubernetes install page and follow the instructions to install the Kubernetes as you want.

The following step assumes you want to install MicroK8s as your Kubernetes cluster.

  1. Install MicroK8s

    MicroK8s can be installed with one command. However, to get the most out of the installation, there are a few extra steps that need to be done, particularly if executing these steps in a virtual machine. The script will automate these steps for you.

    Clone the kubernetes-tools project

    Run the script as root

    If you have a GPU, run

  2. Install Kubeflow

    Clone the kubeflow-tools project

    Run the Kubeflow Install script

  3. Access Kubeflow

    If you installed Microk8s on your local host, then you can use localhost as the IP address in your browser. Otherwise, if you used Multipass as per the instructions above, you can get the IP address of the VM with either multipass list or multipass info kubeflow.

    Point browser to either:

    • http://<kubeflow VM IP>:<Ambassador PORT>
    • http://localhost:<Ambassador PORT>

Need more help?

Let our Kubernetes experts help you take the next step.

Contact us