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

influxdb: what are the minimum CPU/Memory limits/requests? #605

Open
ojkastl opened this issue Oct 6, 2023 · 0 comments
Open

influxdb: what are the minimum CPU/Memory limits/requests? #605

ojkastl opened this issue Oct 6, 2023 · 0 comments

Comments

@ojkastl
Copy link

ojkastl commented Oct 6, 2023

I am installing influxdb into my k3s single-node instance. I have this in my values.yaml, copied from the default values:

resources:
  requests:
    memory: 256Mi
    cpu: 0.1
  limits:
    memory: 256Mi
    cpu: 0.1

But as soon as I add any limits, the pod never gets to a healthy/ready state. The pod logs only contain this:

ts=2023-10-06T07:01:20.070536Z lvl=info msg="InfluxDB starting" log_id=0khxVIHW000 version=1.8.10 branch=1.8 commit=688e697c51fd
ts=2023-10-06T07:01:20.070606Z lvl=info msg="Go runtime" log_id=0khxVIHW000 version=go1.13.8 maxprocs=4

Seems like using 1CPU and 1Gi of RAM allows the pod to start. Which is too much for my use case, where there should hardly be much work for the pod to do. I noticed it uses about 20Mi of RAM while running...

It looks like the process tries to allocate memory or CPU and fails, if the limits are too small. Can this be tweaked somehow?

I would prepare a PR to update the chart's values.yaml with proper values, as soon as someone confirms it really needs 1Gi of RAM or 1 CPU to start... :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant