ajust etcd parameters

pull/824/head
gjmzj 2020-03-30 11:12:16 +08:00
parent 48c146e12d
commit 29ffd8d82d
1 changed files with 3 additions and 2 deletions

View File

@ -24,13 +24,14 @@ ExecStart={{ bin_dir }}/etcd \
--initial-cluster={{ ETCD_NODES }} \
--initial-cluster-state={{ CLUSTER_STATE }} \
--data-dir=/var/lib/etcd \
--snapshot-count=50000 \
--auto-compaction-retention=1 \
--max-request-bytes=10485760 \
--quota-backend-bytes=8589934592
Restart=on-failure
Restart=always
RestartSec=5
RestartSec=15
LimitNOFILE=65536
OOMScoreAdjust=-999
[Install]
WantedBy=multi-user.target