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

flagd and flagd-ui memory limits too low #2126

Open
rcastley opened this issue Mar 19, 2025 · 2 comments
Open

flagd and flagd-ui memory limits too low #2126

rcastley opened this issue Mar 19, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@rcastley
Copy link
Contributor

rcastley commented Mar 19, 2025

Bug Report

Which version of the demo you are using? v2.0.2

Symptom

Install the demo in k3s on a Multipass instance on Apple Silicon. The VM is configured with 4 CPUs, 8G RAM and 32Gb disk.

flagd is OOMKilled. Have tried both Helm chart and Kubernetes manifest.

What is the expected behavior?

flagd to start

What is the actual behavior?

flagd fails to start.

Reproduce

Use either the Helm chart or Kubernetes manifest from this repo.

Additional Context

By increasing the memory limit to 300Mi in the Kubernetes manifest for both flagd and flagd-ui the service starts with no issues.

@rcastley rcastley added the bug Something isn't working label Mar 19, 2025
@agardnerIT
Copy link

agardnerIT commented Mar 21, 2025

Hitting this too. Thanks for the investigation and fix!

flagd-5ddb9d9b66-p5gkj 1/2 OOMKilled 4 (2m8s ago) 22h

I was too keen. Still OOMKilled / CrashLoopBackOff.

Need to also increase flagd-ui via Helm. In case it helps someone:

values.yaml (extract)

components:
  flagd:
    useDefault:
      env: true
    resources:
      limits:
        memory: "300Mi"
    # flgad-ui as a sidecar container in the same pod so the flag json file can be shared
    sidecarContainers:
      - name: flagd-ui
        useDefault:
          env: true
        resources:
          limits:
            memory: "300Mi"

@rcastley rcastley changed the title flagd memory limits too low flagd and flagd-ui memory limits too low Mar 21, 2025
@julianocosta89
Copy link
Member

Hey all, thx for reporting this!
We already have a PR on the Helm repo to update this, hopefully we can have that merged soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants