Kubernetes Cluster Installation: Difference between revisions
Jump to navigation
Jump to search
DrEdWilliams (talk | contribs) mNo edit summary |
DrEdWilliams (talk | contribs) m (→kubeadm) Tag: visualeditor |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
! Action !! Notes | ! Action !! Notes | ||
|- | |- | ||
| [[Basic CentOS 7 Installation]] <br/> [[Basic Debian | | [[Basic CentOS 7 Installation]] <br/> [[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 | | [[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) | |||
| [[IP Tables config]] || set up the system config to use IP Tables properly | |||
|} | |} | ||
| Line 19: | Line 15: | ||
=== kubeadm === | === 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/ | 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/. Here are the cliff notes for this environment: | ||
{| class="wikitable" | {| class="wikitable" | ||
Latest revision as of 12:03, 27 October 2021
Prerequisities[edit]
| 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[edit]
There are multiple ways to deploy a kubernetes cluster. These two have been tried and are (at least somewhat) functional.
kubeadm[edit]
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/. Here are the cliff notes for this environment:
| Kubernetes Controller | install kubernetes cluster controller |
| Kubernetes Nodes | install kubernetes nodes |
k3s[edit]
See the K3s - Kubernetes Simplified page for instructions
The Rest of the Stuff[edit]
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[edit]
Now load the rest of the packages for each cluster:
<references/>