Skip to content

Commit

Permalink
set snapshot-count on etcd to limit memory usage variability
Browse files Browse the repository at this point in the history
  • Loading branch information
sjenning committed Jun 7, 2022
1 parent dc9fdcc commit af2e0ec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func buildEtcdContainer(p *EtcdParams, namespace string) func(c *corev1.Containe
--initial-cluster=${INITIAL_CLUSTER} \
--initial-cluster-state=new \
--quota-backend-bytes=${QUOTA_BACKEND_BYTES} \
--snapshot-count=10000 \
--peer-client-cert-auth=true \
--peer-cert-file=/etc/etcd/tls/peer/peer.crt \
--peer-key-file=/etc/etcd/tls/peer/peer.key \
Expand Down

0 comments on commit af2e0ec

Please sign in to comment.