Restoring the etcd cluster backup

To demonstrate the restore scenario of etcd for an existing AKS Engine cluster, we first need to modify some Kubernetes objects to later prove that the backup restore has worked. Please note that all the commands shown in this section assume that you are running AKS Engine where an external etcd topology is used with etcd members running on the same machines that host Kubernetes master components. For other clusters, such as an on-premise kubeadm setup, the structure of the directories will be different.

First, let's introduce some changes to the cluster state. For example, if you have our Voting application running, delete the associated Deployment object using the following command:

kubectl delete deployment ...

Get Hands-On Kubernetes on Windows now with O’Reilly online learning.

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