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
fff0aec7
Commit
fff0aec7
authored
7 years ago
by
Gregory Storme
Browse files
Options
Downloads
Patches
Plain Diff
add configurable parameter for etcd_auto_compaction_retention
parent
7a72b2d5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
inventory/group_vars/all.yml
+3
-0
3 additions, 0 deletions
inventory/group_vars/all.yml
roles/etcd/defaults/main.yml
+2
-0
2 additions, 0 deletions
roles/etcd/defaults/main.yml
roles/etcd/templates/etcd.env.yml
+1
-0
1 addition, 0 deletions
roles/etcd/templates/etcd.env.yml
with
6 additions
and
0 deletions
inventory/group_vars/all.yml
+
3
−
0
View file @
fff0aec7
...
...
@@ -98,3 +98,6 @@ bin_dir: /usr/local/bin
## Please specify true if you want to perform a kernel upgrade
kernel_upgrade
:
false
## Etcd auto compaction retention for mvcc key value store in hour
#etcd_compaction_retention: 0
This diff is collapsed.
Click to expand it.
roles/etcd/defaults/main.yml
+
2
−
0
View file @
fff0aec7
...
...
@@ -22,3 +22,5 @@ etcd_memory_limit: 512M
#etcd_cpu_limit: 300m
etcd_node_cert_hosts
:
"
{{
groups['k8s-cluster']
|
union(groups.get('calico-rr',
[]))
}}"
etcd_compaction_retention
:
"
0"
This diff is collapsed.
Click to expand it.
roles/etcd/templates/etcd.env.yml
+
1
−
0
View file @
fff0aec7
...
...
@@ -11,6 +11,7 @@ ETCD_LISTEN_PEER_URLS=https://{{ etcd_address }}:2380
ETCD_NAME={{ etcd_member_name }}
ETCD_PROXY=off
ETCD_INITIAL_CLUSTER={{ etcd_peer_addresses }}
ETCD_AUTO_COMPACTION_RETENTION={{ etcd_compaction_retention }}
# TLS settings
ETCD_TRUSTED_CA_FILE={{ etcd_cert_dir }}/ca.pem
...
...
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