Learn how to use Kubeadm to install Kubernetes in mins

2 minute read


Long time ago, the way to install kubernetes was quite complicate. After kubernetes 1.4, we can use Kubeadm to install a kubernetes cluster with only two steps. Now, let’s start our journey.


  • Ubuntu 16.04


  • install.sh
apt-get update && apt-get install -y apt-transport-https curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
apt-get update
# Install docker if you don't have it already.
apt-get install -y docker.io
apt-get install -y kubelet kubeadm kubectl kubernetes-cni

Use Top-like way to check containers information

1 minute read


It’s not easy to check containers status with top/htop. With ctop, now we can check/display all containers status with top-like interface!


ctop is developed by Go, all we need to do is download and put binary to the right position, then we can start to monitor containers status! (Support Linux and macOs)


wget https://github.com/bcicen/ctop/releases/download/v0.4.1/ctop-0.4.1-linux-amd64 -O ctop
sudo mv ctop /usr/local/bin/
sudo chmod +x /usr/local/bin/ctop