Skip to content

Operator Compute resources for log agent and metric agent should be separated #2081

Open

Description

Now we can set up compute resources only for entire agent

apiVersion: monitoring.grafana.com/v1alpha1
kind: GrafanaAgent
metadata:
  name: grafana-agent
  labels:
    app: grafana-agent
spec:
  image: grafana/agent
  resources:
    requests:
      cpu: {{ GRAFANA_AGENT_RESOURCE_CPU_MIN }}
      memory: {{ GRAFANA_AGENT_RESOURCE_MEMORY_MIN }}
    limits:
      cpu: {{ GRAFANA_AGENT_RESOURCE_CPU_MAX }}
      memory: {{ GRAFANA_AGENT_RESOURCE_MEMORY_MAX }}
....

and it will be applied for Metric StatefulSet and Log DaemonSet which sometimes can be inconvenient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    operatorGrafana Agent Operator relatedtype/docsDocs Squad label across all Grafana Labs reposvariant/operatorRelated to Grafana Agent Static Operator.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions