1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00
kube-arangodb/docs/how-to/override_detected_memory.md

23 lines
608 B
Markdown
Raw Normal View History

# 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:
```yaml
apiVersion: database.arangodb.com/v1
kind: ArangoDeployment
metadata:
name: cluster
spec:
mode: Cluster
dbservers:
overrideDetectedTotalMemory: true
resources:
limits:
memory: 1Gi
```