Skip to content

Instantly share code, notes, and snippets.

@patrickdk77
patrickdk77 / k8s-etcd-backup.yaml
Last active October 31, 2025 05:35 — forked from jslay88/k8s-etcd-backup.yaml
k8s cronjob for doing daily backups of etcd from a master. (updated)
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: etcd-backup
namespace: kube-system
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem