Securing Kubernetes Cluster: A Guide to API Server Connection with OpenSSL and kubeConfig
6 min readJun 18, 2024
Please do support me by following me in medium , and may be through buying me a coffee, thanks.
PreRequisites:
- To demonstrate the working session we need a managed kubernetes cluster like EKS,AKS,GKS or ubuntu machines where kubernetes is installed using kubeadm
2. We will bootstrap the cluster using kubeadm in the ubuntu 22LTS
3. Here I am choosing AWS Cloud provider to launch the ubuntu machines.
4. And here we are using only master node we are not using any worker node
Chapter 1 : BootStrap Kubernetes Cluster Using Kubeadm
1.1 Configure CRI for kubernetes
Running this following commands
cat <<EOF | sudo tee /etc/modules-load.d/containerd.conf
overlay
br_netfilter
EOF