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={{ ETCD_NODES }} \
--initial-cluster-state={{ CLUSTER_STATE }} \ --initial-cluster-state={{ CLUSTER_STATE }} \
--data-dir=/var/lib/etcd \ --data-dir=/var/lib/etcd \
--snapshot-count=50000 \
--auto-compaction-retention=1 \ --auto-compaction-retention=1 \
--max-request-bytes=10485760 \ --max-request-bytes=10485760 \
--quota-backend-bytes=8589934592 --quota-backend-bytes=8589934592
Restart=on-failure
Restart=always Restart=always
RestartSec=5 RestartSec=15
LimitNOFILE=65536 LimitNOFILE=65536
OOMScoreAdjust=-999
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target