Install Kubeflow on a single-node Kubernetes v1.18.2 cluster

Intro

This installation is based on:

Other goal is to have GPU support. So please check other tutorials:

More …

Installing Kubernetes with GPU support on Ubuntu 20.04 LTS

Intro

There are multiple ways to install Kubernetes on Ubuntu 20.04. The easiest but not the best way is to use MicroK8s for single node setup. At this point I would not recommend using MicroK8s if you need GPU support:

So we’ll go with Kubeadm install in this tutorial.

Installation Prerequisites

Before continuing Kubernetes installation process, please make sure you already have installed:

More …

Installing TensorFlow 2 with GPU and Docker support on Ubuntu 20.04 LTS

Intro

Please check Installing TensorFlow 2 with GPU support on Ubuntu 20.04 LTS for the intro.

According to https://www.tensorflow.org/install/docker and https://github.com/NVIDIA/nvidia-docker the following has to be installed:

Docker in Ubuntu 20.04 LTS

There are number of docker packages available

  • docker-ce package from docker.com
  • docker.io package provided by Canonical
  • docker package provided by Red Hat

Docker versions > 19.03 are supported by NVIDIA Container Toolkit.

More …

Installing TensorFlow 2 with GPU support on Ubuntu 20.04 LTS

Intro

According to https://www.tensorflow.org/install and https://www.tensorflow.org/install/gpu the following has to be installed:

  • python: 3.5 – 3.7
  • pip: > 19.0

NVIDIA software:

  • NVIDIA GPU drivers: > 418.x
  • CUDA Toolkit: 10.1
  • cuDNN SDK: >= 7.6

Please also note:

  • CUDA 10.1 requires GCC <= 8

At time of writing the following versions were available:

More …