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

Setting Alertmanager's config-reloader container resources in victoria-metrics-k8s-stack values #993

Closed
arseny-zinchenko opened this issue Apr 25, 2024 · 1 comment
Labels
question Further information is requested

Comments

@arseny-zinchenko
Copy link

arseny-zinchenko commented Apr 25, 2024

Hello.
I'm want to update Alertmanager's config-reloader container resources.requests.
In my values file I have the following resources:

  alertmanager:
    enabled: true
    persistence:
      enabled: true
      storageClass: "gp2-retain"
      size: 100Mi
    
    spec:
      replicaCount: 1
      resources:
        requests:
          memory: 50Mi
          cpu: 10m

But it's applied only to the Alertmanager's container, while config-reloader is left untouched:

$ kk describe sts vmalertmanager-vm-k8s-stack
...
  Containers:
   alertmanager:
    Image:       prom/alertmanager:v0.25.0
    ...
    Requests:
      cpu:      10m
      memory:   50Mi
      ...
   config-reloader:
    Image:      jimmidyson/configmap-reload:v0.3.0
    ...
    Limits:
      cpu:     100m
      memory:  25Mi
    Requests:
      cpu:        100m
      memory:     25Mi
....

I can't see any mentions of the config-reloader configuration possible in the values.yaml or in the vmalertmanagerspec Docs.

So, is there any way to change it?

And the same question is about vmagent-vm-k8s-stack and vmalert-vm-k8s-stack Deployments.

@Haleygo
Copy link
Contributor

Haleygo commented Apr 29, 2024

Hello,
you can change them by setting env VM_VMALERTMANAGER_CONFIGRELOADERxxx in operator, see this doc for more available envs.

@Haleygo Haleygo added the question Further information is requested label Apr 29, 2024
@Haleygo Haleygo closed this as completed Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants