Changes

Jump to navigation Jump to search

Initializing the Kubernetes cluster

801 bytes added, 6 years ago
m
no edit summary
== Master node from scratch ==
 
* Install Kubernetes on Ubuntu 18.04. Assuming version 1.14.2 is pulled, check how to fix version.
 
<syntaxhighlight lang="bash">
> sudo snap install kubeadm --classic
> sudo snap install kubelet --classic
> sudo snap install kubectl --classic
> sudo apt install rand faketime
</syntaxhighlight>
 
* Create cluster configuration scripts.
<syntaxhighlight lang="bash">
> cd init/templates
# edit cluster information in the following config file
> nano make_init_config.sh
> touch /home/kubernetes/.rnd
> ./make_init_config.sh
</syntaxhighlight>
 
* Spin up the master node.
 
* Flannel daemonset (node communication)
 
* nVidia daemonset
 
* Update kubelet configuration for master node
 
 
 
 
 
=== DEX with LDAP ===
 
TODO: outdated, switched to containerized DEX. Check what still needs to be done.
Set up according to [https://github.com/krishnapmv/k8s-ldap this tutorial]

Navigation menu