Florian Ruynat
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
3 deletions
-
inventory/sample/group_vars/etcd.yml
-
roles/etcd/defaults/main.yml
-
roles/kubernetes/master/defaults/main/etcd.yml
|
|
@ -12,7 +12,7 @@ |
|
|
|
## Etcd has a default of 2G for its space quota. If you put a value in etcd_memory_limit which is less than |
|
|
|
## etcd_quota_backend_bytes, you may encounter out of memory terminations of the etcd cluster. Please check |
|
|
|
## etcd documentation for more information. |
|
|
|
# etcd_quota_backend_bytes: "2G" |
|
|
|
# etcd_quota_backend_bytes: "2147483648" |
|
|
|
|
|
|
|
### ETCD: disable peer client cert authentication. |
|
|
|
# This affects ETCD_PEER_CLIENT_CERT_AUTH variable |
|
|
|
|
|
@ -49,7 +49,7 @@ etcd_extra_vars: {} |
|
|
|
# Limit memory only if <4GB memory on host. 0=unlimited |
|
|
|
etcd_memory_limit: "{% if ansible_memtotal_mb < 4096 %}512M{% else %}0{% endif %}" |
|
|
|
|
|
|
|
# etcd_quota_backend_bytes: "2G" |
|
|
|
# etcd_quota_backend_bytes: "2147483648" |
|
|
|
|
|
|
|
# Uncomment to set CPU share for etcd |
|
|
|
# etcd_cpu_limit: 300m |
|
|
|
|
|
@ -27,6 +27,6 @@ etcd_metrics: "basic" |
|
|
|
## Note this is different from the etcd role with ETCD_ prfexi, caps, and underscores |
|
|
|
etcd_extra_vars: {} |
|
|
|
|
|
|
|
# etcd_quota_backend_bytes: "2G" |
|
|
|
# etcd_quota_backend_bytes: "2147483648" |
|
|
|
|
|
|
|
etcd_compaction_retention: "8" |