etcd administration
Auteur: Fabrice JAMMES (LinkedIn).
This lab runs on the OpenShift cluster: switch to it first with kubectx <my-openshift-context>.
Exercice 1: display Kubernetes and Openshift resources
Retrieve
etcdpod nameLaunch
etcdctl --helpinsideetcdpodUse
etcdctl get ...to display Kubernetes and Openshift keys
Exercice 2: perform an etcd backup and check its status
Perform etcd snapshot with
etcdctlCheck the status of the snapshot with
etcdutl(etcdctl snapshot statuswas removed in etcd 3.6)The backup is inside the
etcdpod, find a technique to retrieve it on a secure storage.