mirror of https://github.com/easzlab/kubeasz.git
ajust etcd parameters
parent
48c146e12d
commit
29ffd8d82d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue