loki icon indicating copy to clipboard operation
loki copied to clipboard

[Docs] Add sizing recommendation for backend pod

Open wilfriedroset opened this issue 2 years ago • 4 comments

Describe the solution you'd like The documentation about "size the cluster" could add support for the new SSD chart with the three part deployment. The current version as of now only show write/read. Example:

loki:
  authenabled: false
read:
  replicas: 75
  resources:
    requests:
      cpu: 3
      memory: 6
    limits:
      cpu: 3
      memory: 8
write:
  replicas: 58
  resources:
    requests:
      cpu: 1
      memory: 6
    limits:
      cpu: 2
      memory: 12

Describe alternatives you've considered N/A

Additional context https://grafana.com/docs/loki/next/installation/sizing/

wilfriedroset avatar Feb 06 '23 13:02 wilfriedroset

Please also note that unit must be specified for the memory. Without any, the default will be taken into account. The default unit for memory is byte and we don't want to start with that few memory.

wilfriedroset avatar Apr 27 '23 06:04 wilfriedroset

This would be really helpful!

The docs also don't mention any sizing recommendations.

LeszekBlazewski avatar Mar 15 '24 16:03 LeszekBlazewski

+1

lczupryn-tibco avatar Jul 25 '24 11:07 lczupryn-tibco

+1

I think such recommendations would be good for each deployment mode. The docs suggest certain ingestion rates, would be great to have docs for the resource requests / limits. Maybe even adding sane defaults to the helm chart? What do you guys think about that?

lieberlois avatar Oct 13 '24 13:10 lieberlois

+1

The sizing recommendations provide excellent guidance for deploying Loki on Kubernetes in SSD mode, especially as a solid starting point. These recommendations can be adjusted and scaled as needed later. If the sizing recommendations are not used, it's essential to at least define reasonable resource requests and limits in the Helm values to ensure a reliable initial setup.

kpinarci avatar Jan 15 '25 07:01 kpinarci