Skip to content

Commit

Permalink
update command and args of loki memcached
Browse files Browse the repository at this point in the history
  • Loading branch information
muzammil360 committed May 3, 2024
1 parent 9432e9a commit 472d488
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ queryFrontend:
values: ["enabled"]

memcachedchunks:
resourcesPreset: medium # https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl
command:
- "/opt/bitnami/scripts/memcached/entrypoint.sh"
- "/opt/bitnami/scripts/memcached/run.sh"
args:
# medium profile memory-limit: 1536Mi. Setting value slightly below that.
# See https://github.com/memcached/memcached/wiki/ConfiguringServer#commandline-arguments
- "--memory-limit=1400" # max memory limit for all cached items in mega bytes
- "--max-item-size=2m" # max memory limit for a single item
nodeAffinityPreset:
type: hard
key: workload-class.mojaloop.io/MONITORING
Expand Down

0 comments on commit 472d488

Please sign in to comment.