Skip to content

Commit

Permalink
Add comment on resource field
Browse files Browse the repository at this point in the history
  • Loading branch information
krapie committed May 23, 2024
1 parent 56e57aa commit 234c243
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions build/charts/yorkie-mongodb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,15 @@ mongodb-sharded:
size: *configSize
mountPath: /data/configdb
storageClass: *storageClass
## @param configsvr.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
## Example:
## resources:
## requests:
## cpu: 2
## memory: 512Mi
## limits:
## cpu: 3
## memory: 1024Mi
resources: {}

# Configuration for shard server
Expand Down Expand Up @@ -155,6 +164,7 @@ mongodb-sharded:
size: *dataSize
mountPath: /data/db
storageClass: *storageClass
## @param shardsvr.dataNode.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
resources:
requests:
memory: 1Gi
Expand Down Expand Up @@ -202,6 +212,15 @@ mongodb-sharded:
enabled: false
startupProbe:
enabled: false
## @param mongos.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
## Example:
## resources:
## requests:
## cpu: 2
## memory: 512Mi
## limits:
## cpu: 3
## memory: 1024Mi
resources: {}

# Configuration for Prometheus monitoring
Expand Down

0 comments on commit 234c243

Please sign in to comment.