Kubernetes Cluster Installation

From WilliamsNet Wiki
Jump to navigation Jump to search

Prerequisities

Action Notes
Basic CentOS 7 Installation
Basic Debian Installation
the kubernetes cluster is based on the standard install of Centos 7 or Debian 10 for all systems/nodes; clusters can have mixed OS among its nodes
CUDA + NVIDIA drivers if the node has a GPU, install the drivers and libraries
IP Tables config set up the system config to use IP Tables properly (may no longer be needed)

Kubernetes Cluster

There are multiple ways to deploy a kubernetes cluster. These two have been tried and are (at least somewhat) functional.

kubeadm

Full instructions for creating a cluster using kubeadm are located in the kubernetes documentation: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/

Kubernetes Controller install kubernetes cluster controller
Kubernetes Nodes install kubernetes nodes

k3s

See the K3s - Kubernetes Simplified page for instructions

The Rest of the Stuff

These are the parts of the cluster that may be installed by one of the above methods, but not always.

IP Controller set up load balancer to assign IP addresses when needed
Metrics Server install metrics collection for the dashboard
k8dash Dashboard install the web GUI dashboard<ref>the original/default kubernetes dashboard installation instructions are located at kubernetes Dashboard</ref>
Rook Storage for Kubernetes dynamic storage provisioning
helm installation kubernetes package installer

Final Configuration

Now load the rest of the packages for each cluster:



<references/>