Kubernetes Cluster Installation: Difference between revisions

From WilliamsNet Wiki
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
! Action !! Notes
! Action !! Notes
|-
|-
| [[Basic CentOS 7 Installation]] <br/> [[Basic Debian 10 Installation]] || the kubernetes cluster is based on the standard install of Centos 7 or Debian 10 for all systems/nodes
| [[Basic CentOS 7 Installation]] <br/> [[Basic Debian 10 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
|-
|-
| [[Ethernet Device Configuration]] || for convenience rename network devices to eth* (optional)
| [[Ethernet Device Configuration]] || for convenience rename network devices to eth* (optional)
Line 12: Line 12:
| [[Ceph Storage Cluster]] || install the parallel filesystem components as needed
| [[Ceph Storage Cluster]] || install the parallel filesystem components as needed
|-
|-
| [[Docker Installation]] || Docker is required for all nodes
| [[Docker Installation]] || Docker is required for all nodes (not required for k3s cluster install)
|-
|-
| [[IP Tables config]] || set up the system config to use IP Tables properly
| [[IP Tables config]] || set up the system config to use IP Tables properly

Revision as of 21:14, 28 February 2021

Prerequisities

Action Notes
Basic CentOS 7 Installation
Basic Debian 10 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
Ethernet Device Configuration for convenience rename network devices to eth* (optional)
CUDA + NVIDIA drivers if the node has a GPU, install the drivers and libraries
Ceph Storage Cluster install the parallel filesystem components as needed
Docker Installation Docker is required for all nodes (not required for k3s cluster install)
IP Tables config set up the system config to use IP Tables properly

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/>