haminhcong/k8s-til

Kubespray periodic backup etcd data - disaster recovery cluster from etcd backups

Opened this issue · 0 comments

  • Which Kubernetes cluster data stored in ETCD
  • Monitor etcd data backup process and alert when failed to backup K8S data
  • When recovery, do we need change or keep master IP and Name ?
  • Persistent Volume Backup & Restore ? https://github.com/vmware-tanzu/velero

Data which need to save and backup periodic from K8S Cluster Provisioned By Kubespray

  • Inventory File
  • Node Password Information
  • Etcd Node Data:
    • Etcd backup
    • Etcd certificates

Backup And Monitoring Tools

Possible scenario

  • Recover etcd cluster from backup data
  • Recover first master node
  • Join remaining master nodes
  • Join remaining worker nodes

Need to search in kubespray slack about this problem and this playbook kubernetes-sigs/kubespray@ac2135e#diff-3bda861e9e89b5053f64df966fe350fcbbe32a3c5f1b977fdb8f004e28c7d47b

References