How it works...

To verify our HA cluster, take a look at the pods in the namespace kube-system:

$ kubectl get pod -n kube-systemNAME                                      READY     STATUS    RESTARTS   AGEcalico-etcd-6bnrk                         1/1       Running   0          1dcalico-etcd-p7lpv                         1/1       Running   0          1dcalico-kube-controllers-d554689d5-qjht2   1/1       Running   0          1dcalico-node-2r2zs                         2/2       Running   0          1dcalico-node-97fjk                         2/2       Running   0          1dcalico-node-t55l8                         2/2       Running   0          1dkube-apiserver-master01                   1/1       Running   0          1dkube-apiserver-master02                   1/1       Running   0          1dkube-controller-manager-master01          1/1       Running   0          1dkube-controller-manager-master02          1/1       Running   0          1dkube-dns-6f4fd4bdf-xbfvp                  3/3       Running   0          1dkube-proxy-8jk69                          1/1       Running   0          1dkube-proxy-qbt7q                          1/1       Running   0          1dkube-proxy-rkxwp                          1/1       Running   0          1dkube-scheduler-master01                   1/1       Running   0          1dkube-scheduler-master02 ...

Get Kubernetes Cookbook, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.