Install Kubeflow yourself

Canonical continues to innovate and develop best practices for supporting developers and operators.

Deploy Kubeflow to Kubernetes

If you already have Ubuntu or linux, the following instructions are all you need. However, if you are on Windows or Mac, consider starting with Multipass. With multipass you can easily create an Ubuntu VM to work with.

  1. 1Install Kubernetes

    Kubeflow runs on top of Kubernetes, and Canonical Kubernetes is the best foundation for Kubeflow.

    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.

  2. 2Install microk8s

    Clone the kubernetes-tools project

    Run the script as root

    If you have a GPU, run

  3. 3Install Kubeflow

    Clone the kubeflow-tools project

    Run the Kubeflow Install script

  4. 4Access 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