Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and managing containerized applications. A K8s installation is required to deploy PrimeHub and required services.

In this section you will do the following.

  1. Ensure your existing Kubernetes installation is ready for PrimeHub
  2. Install a single-node (Microk8s) or multi-node (Rancher rke) cluster
  3. Label nodes and configure Kubernetes nodes

Table of contents

Verify or install Kubernetes

If you already have a Kubernetes installation you need to verify a few things to ensure its ready for PrimeHub.

If you do not have a Kubernetes installation, instructions for installing either a single-node or multi-node cluster are provided below.

If you have already installed Kubernetes

To ensure your Kubernetes installation is ready for PrimeHub, verify the following.

The following command can be used to verify these two requirements.

$ kubectl get nodes -o wide
NAME            STATUS   ROLES    AGE   VERSION                    INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION   CONTAINER-RUNTIME
ip-10-40-0-11   Ready    <none>   22h   v1.21.8-3+b8dc41df93b196   10.40.0.11    <none>        Ubuntu 18.04.5 LTS   5.4.0-1051-aws   containerd://1.4.4

Lastly, the default namespace scope for PrimeHub is ‘hub’. Ensure this namespace is not currently in use.

If you need to install Kubernetes (k8s)