Skip to content

Commit

Permalink
Add resource configuration in yorkie-mongodb helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
krapie committed May 23, 2024
1 parent 28cbd37 commit 56e57aa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/charts/yorkie-mongodb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ mongodb-sharded:
size: *configSize
mountPath: /data/configdb
storageClass: *storageClass
resources: {}

# Configuration for shard server
shardsvr:
Expand Down Expand Up @@ -154,6 +155,11 @@ mongodb-sharded:
size: *dataSize
mountPath: /data/db
storageClass: *storageClass
resources:
requests:
memory: 1Gi
limits:
memory: 2Gi

# Configuration for mongos
mongos:
Expand Down Expand Up @@ -196,6 +202,7 @@ mongodb-sharded:
enabled: false
startupProbe:
enabled: false
resources: {}

# Configuration for Prometheus monitoring
metrics:
Expand Down

0 comments on commit 56e57aa

Please # to comment.