mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
694 B
694 B
layout | title | parent |
---|---|---|
page | How to override detected total memory | How to ... |
How to override detected total memory
overrideDetectedTotalMemory
The spec.<group>.overrideDetectedTotalMemory
flag is an option that allows users to override the total memory available to the ArangoDB member
by automatically injecting ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY
ENV variable into the container with the value of spec.<group>.resources.limits.memory
.
Sample:
apiVersion: database.arangodb.com/v1
kind: ArangoDeployment
metadata:
name: cluster
spec:
mode: Cluster
dbservers:
overrideDetectedTotalMemory: true
resources:
limits:
memory: 1Gi