mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-27 07:56:14 -03:30
Fixes 6621 etcd backup directory is consuming much rootfs disk space (#6836)
* added an ansible var to manage retention of etcd backups * refactord ls/grep into find in etcd backup removal command
This commit is contained in:
@@ -9,6 +9,8 @@ etcd_events_cluster_enabled: false
|
||||
etcd_backup_prefix: "/var/backups"
|
||||
etcd_data_dir: "/var/lib/etcd"
|
||||
|
||||
# Number of etcd backups to retain. Set to a value < 0 to retain all backups
|
||||
etcd_backup_retention_count: -1
|
||||
|
||||
etcd_config_dir: /etc/ssl/etcd
|
||||
etcd_cert_dir: "{{ etcd_config_dir }}/ssl"
|
||||
|
||||
Reference in New Issue
Block a user