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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.