Do I Need Etcd Backups If I’m Using ArgoCD?

0
1
Asked By CleverCat42 On

I'm curious about the necessity of etcd backups in my setup. Since everything is deployed using ArgoCD, are etcd backups really required? If I do need them, is the best way to handle backups using a CronJob YAML? Also, should I locate the etcd leader node before proceeding with the backup?

4 Answers

Answered By K8sNinja84 On

It depends on your Recovery Time Objective (RTO) and how quickly you can get a new cluster up and running. Think about what failures you want to guard against and how you plan to respond. Sometimes a complete cluster reinstall can actually be a valid disaster recovery method.

Answered By UserGuru99 On

It really comes down to your recovery strategy. If you want to recover PVCs, you might need the unique IDs stored in etcd. Using a backup solution specifically for PVCs would be best. Just keep that in mind!

Answered By DevOpsSquirrel On

We back up our Argo applications and app projects every hour, and we restore that when migrating to new clusters. But I'm not sure about the metadata for PVCs—do those get included?

Answered By StatelessSammy On

If most of your applications are stateless and can be easily redeployed, plus you can quickly replace the clusters, you might not need to back up etcd at all. The 'cattle, not pets' philosophy applies here as well!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.