Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
274e06a4
Unverified
Commit
274e06a4
authored
4 years ago
by
Samuel Liu
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add etcd max snapshot and wals (#7382)
parent
a39f3061
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/etcd/defaults/main.yml
+6
-0
6 additions, 0 deletions
roles/etcd/defaults/main.yml
roles/etcd/templates/etcd.env.j2
+6
-0
6 additions, 0 deletions
roles/etcd/templates/etcd.env.j2
with
12 additions
and
0 deletions
roles/etcd/defaults/main.yml
+
6
−
0
View file @
274e06a4
...
...
@@ -65,6 +65,12 @@ etcd_secure_client: true
# Enable peer client cert authentication
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
etcd_retries
:
4
...
...
This diff is collapsed.
Click to expand it.
roles/etcd/templates/etcd.env.j2
+
6
−
0
View file @
274e06a4
...
...
@@ -26,6 +26,12 @@ ETCD_QUOTA_BACKEND_BYTES={{ etcd_quota_backend_bytes }}
{% if etcd_log_package_levels is defined %}
ETCD_LOG_PACKAGE_LEVELS={{ etcd_log_package_levels }}
{% 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
ETCD_ENABLE_V2=true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment