add etcd max snapshot and wals (#7382)
This commit is contained in:
parent
a39f306184
commit
274e06a48d
2 changed files with 12 additions and 0 deletions
|
@ -65,6 +65,12 @@ etcd_secure_client: true
|
||||||
# Enable peer client cert authentication
|
# Enable peer client cert authentication
|
||||||
etcd_peer_client_auth: true
|
etcd_peer_client_auth: true
|
||||||
|
|
||||||
|
# Maximum number of snapshot files to retain (0 is unlimited)
|
||||||
|
# etcd_max_snapshots: 5
|
||||||
|
|
||||||
|
# Maximum number of wal files to retain (0 is unlimited)
|
||||||
|
# etcd_max_wals: 5
|
||||||
|
|
||||||
# Number of loop retries
|
# Number of loop retries
|
||||||
etcd_retries: 4
|
etcd_retries: 4
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,12 @@ ETCD_QUOTA_BACKEND_BYTES={{ etcd_quota_backend_bytes }}
|
||||||
{% if etcd_log_package_levels is defined %}
|
{% if etcd_log_package_levels is defined %}
|
||||||
ETCD_LOG_PACKAGE_LEVELS={{ etcd_log_package_levels }}
|
ETCD_LOG_PACKAGE_LEVELS={{ etcd_log_package_levels }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if etcd_max_snapshots is defined %}
|
||||||
|
ETCD_MAX_SNAPSHOTS={{ etcd_max_snapshots }}
|
||||||
|
{% endif %}
|
||||||
|
{% if etcd_max_wals is defined %}
|
||||||
|
ETCD_MAX_WALS={{ etcd_max_wals }}
|
||||||
|
{% endif %}
|
||||||
# Flannel need etcd v2 API
|
# Flannel need etcd v2 API
|
||||||
ETCD_ENABLE_V2=true
|
ETCD_ENABLE_V2=true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue