Replies: 1 comment
-
etcd memory usage depends mostly on how the API is used and cannot be guessed. For example you can make concurrent list add keys requests done requiring etcd to allocate Gigabytes of memory per request (also applies to K8s :)). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like to be added?
I am deploy etcd by k8s pod, but i have an oom probelm when i set memory limit 12Gi:
etcd command is:
etcd --snapshot-count=10000 --auto-compaction-retention=24 --max-request-bytes=10485760 --quota-backend-bytes=858993459 ...
my question is what is the proberly memory limit for the above command?
Is
limit = quota-backend-bytes + ?
ok? but why 12Gi is not enough for quota-backend-bytes 8g?or Is
limit = quota-backend-bytes * 2
ok?Why is this needed?
What memory limit should i set for etcd?
Beta Was this translation helpful? Give feedback.
All reactions