mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
28 lines
694 B
Markdown
28 lines
694 B
Markdown
---
|
|
layout: page
|
|
title: How to override detected total memory
|
|
parent: 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:
|
|
|
|
```yaml
|
|
apiVersion: database.arangodb.com/v1
|
|
kind: ArangoDeployment
|
|
metadata:
|
|
name: cluster
|
|
spec:
|
|
mode: Cluster
|
|
dbservers:
|
|
overrideDetectedTotalMemory: true
|
|
resources:
|
|
limits:
|
|
memory: 1Gi
|
|
```
|