Your cluster is fully managed by GitOps. Do you still need etcd or cluster backups?
IntermediateScenarioData and databases
Answer
Situation read → Git covers what you declared, not everything the cluster holds. On EKS you can't back up etcd yourself anyway; AWS runs it.
What I'd do →
- List what Git doesn't have: PV data, Secrets created by controllers, cert-manager certificates, objects created at runtime by operators (CRs, Jobs), and anything someone applied by hand.
- Use Velero for namespaced objects plus volume snapshots on a schedule.
- Keep stateful data in managed services with their own backups where possible.
- On self-managed clusters (kubeadm), also snapshot etcd regularly:
ETCDCTL_API=3 etcdctl snapshot save /backup/etcd-$(date +%F).db \
--endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt \
--cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key
- Test a full rebuild: new cluster, bootstrap Argo CD, restore Velero, and time it.
Why → GitOps makes the cluster reproducible; backups make the data recoverable. They solve different problems.
Interview tip → Say "the rebuild drill is the real backup test", and give how long it took.
More on Data and databases
A release needs to rename a column that the running app reads and writes. How do you do it with zero downtime?IntermediateHow do you prove your database backups actually work?IntermediateDesign backups for an RDS PostgreSQL database with RPO of 5 minutes and RTO of 1 hour, including a region failure.AdvancedYour migrations run in an init container and two pods ran them at the same time during a deploy, leaving the schema half-applied. How do you fix the approach?IntermediateUpgrade RDS PostgreSQL from 13 to 17 with minimal downtime. How?AdvancedYou need to add an index and a column to a 500-million-row table that's written to constantly. How do you avoid locking it?Advanced