grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.99k stars 3.46k forks source link

[Docs] Add sizing recommendation for backend pod #8422

Open wilfriedroset opened 1 year ago

wilfriedroset commented 1 year ago

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 commented 1 year ago

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.

LeszekBlazewski commented 8 months ago

This would be really helpful!

The docs also don't mention any sizing recommendations.

lczupryn-tibco commented 4 months ago

+1

lieberlois commented 1 month ago

+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?