Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding custom resource in loki helm value for memcached #12809

Open
cloudcafetech opened this issue Apr 27, 2024 · 2 comments
Open

Adding custom resource in loki helm value for memcached #12809

cloudcafetech opened this issue Apr 27, 2024 · 2 comments
Labels
area/helm type/feature Something new we should do

Comments

@cloudcafetech
Copy link

Please add custom resource in loki helm value for memcached ... taking default value for memory 9830Mi

 memcached:
    resources:
      limits:
        #memory: 9830Mi
        memory: 1000Mi
      requests:
        cpu: 500m
        #memory: 9830Mi
        memory: 1000Mi
@JStickler JStickler added type/feature Something new we should do area/helm labels Apr 29, 2024
@paul-at-cybr
Copy link

Hi! I've had the same issue, and figured out that you can reduce this request via the chunksCache.allocatedMemory value.

The reason you're not seeing the 9830Mi value in the values-file is because it's a calculated value based on allocatedMemory

I'm not sure why this default was chosen though - I'm pretty sure it wasn't this high before. The nodes on one of my clusters literally cannot fit a pod with this request.

@cloudcafetech
Copy link
Author

cloudcafetech commented May 4, 2024

@paul-at-cybr

Thanks for suggestion!!
Its work for memory but what about CPU?

Its temporary fix but in general resource section is best place to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm type/feature Something new we should do
Projects
None yet
Development

No branches or pull requests

3 participants