Deploying Kubernetes Cluster With Ingress and Load Balancer on DigitalOcean

This article will give you the a simple way how to deploy a kubernetes cluster and it’s components on DigitalOcean Managed Kubernetes (DOKS). Along with my learning journey with kubernetes, I started to get my hands on trying kubernetes on DigitalOcean. It’s actually one of my favorite hosting platform that also offers Kubernetes managed service … 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

Setup Kubernetes on Ubuntu 16.04

Summary This setup is supposedly to install the kubernetes on ubuntu machine with version 16.04 (64bit). I did this in the cloud and have worked perfectly. # whoami && pwd root /root # apt-get update # apt-get install -y apt-transport-https # curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add – # echo “deb http://apt.kubernetes.io/ kubernetes-xenial main” … Read more

Kubernetes cheatsheet

To list all deployments: kubectl get deployments –all-namespaces To delete deployment: kubectl delete -n NAMESPACE deployment DEPLOYMENT To get admin user token dashboard kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk ‘{print $1}’) Allow master to run pod kubectl taint nodes –all node-role.kubernetes.io/master- To join master node kubeadm … Read more