How to safely drain and remove k8s node

In this lab, I use Ubuntu 20.04 LTS for my k8s cluster. To remove the k8s node from the cluster, first drain the node : $ kubectl get nodes $ kubectl drain node If required, you also need to ignore daemonsets : $ kubectl drain node –ignore-daemonsets And delete the node : $ kubectl delete … Read more

Setup kubernetes cluster in Ubuntu 20.04 from scratch

Hello again, this article is a walk through how to setup your own kubernetes cluster with Ubuntu 20.04 LTS. Some steps are very straightforward, and you can directly follow along while you try to setup yourself. So before get started, I tried this using 2 ubuntu servers : ks8-master : 2gb memory, 2vCPUs k8s-node-0 : … Read more