Kubernetes Cluster Doomsday
10 Januari 2020
Kubernetes has a ticking time bomb, that is the cluster’s certificate. Kubernetes clusters work on top of TLS and rely on PKI certificates for authentication over TLS. The Kubernetes cluster certificates have a lifespan of one year. If the Kubernetes cluster certificate expires on the Kubernetes master, then the kubelet service will fail. Issuing a kubectl command, such as kubectl get pods or kubectl exec -it container_name bash, will result in a message similar to Unable to connect to the server: x509: certificate has expired or is not yet valid.…
Setup Kubernetes Cluster Ubuntu 18.04 Pakai Kubeadm
27 Januari 2020
Ini adalah catatan bagaimana aku setup kubernetes cluster pakai kubeadm. Aku setup pakai VM (KVM) 1 master dan 1 node worker. Aku pakai vm ubuntu 18.04. Selama ini aku setup kubernetes cluster di debian 10. Sekarang belajar setup di ubuntu 18.04. Meskipun ubuntu berbasis debian, tapi ada beberapa yang berbeda ketika setup kubernetes cluster, yg paling kentara di Debian 10 adalah iptables-legacy. Rangkuman singkatnya begini: install docker dan kubeadm di master setup kubeadm di master install docker dan kubeadm di node join node ke cluster pakai kubeadm Cluster selesai, sisanya pasang aplikasi sesua kebutuhan Log install kubernetes di Ubuntu 18.…