Set ZooKeeper purge_interval for on nodepool.o.o
Set ZooKeeper's autopurge.purgeInterval to 6 hours for nodepool.openstack.org to limit the number of ZK snapshots kept. These will quickly fill the disk in production if this is not enabled. The purge_interval class parameter determines the frequency in hours to look for and purge old snapshots, defaulting to 0 (disabled). The number of retained snapshots can be separately controlled through snap_retain_count but already defaults to a sane value of 3 (the minimum supported for autopurge.snapRetainCount). Change-Id: If84094641add539a815718ae604729fe6f0545cd
This commit is contained in:
parent
4712bf0aaf
commit
5399258561
@ -848,7 +848,14 @@ node 'nodepool.openstack.org' {
|
||||
iptables_public_tcp_ports => [80],
|
||||
}
|
||||
|
||||
class { '::zookeeper': }
|
||||
class { '::zookeeper':
|
||||
# The frequency in hours to look for and purge old snapshots,
|
||||
# defaults to 0 (disabled). The number of retained snapshots can
|
||||
# be separately controlled through snap_retain_count and
|
||||
# defaults to the minimum value of 3. This will quickly fill the
|
||||
# disk in production if not enabled. Works on ZK >=3.4.
|
||||
purge_interval => 6,
|
||||
}
|
||||
|
||||
include openstack_project
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user