GithubHelp home page GithubHelp logo

Comments (7)

patrickmslatteryvt avatar patrickmslatteryvt commented on June 16, 2024 2

No, that's not a daft question, here is what I get:

kubectl top pods --selector=app=kured
NAME          CPU(cores)   MEMORY(bytes)   
kured-7s22n   0m           14Mi            
kured-csbkv   0m           10Mi            
kured-dzrjq   0m           16Mi            
kured-f269j   0m           15Mi            
kured-g5xnm   0m           12Mi            
kured-lzjld   0m           12Mi            
kured-mf4gg   0m           14Mi            
kured-pc55p   9m           20Mi            
kured-tsxpc   0m           13Mi            

I'm running this version: quay.io/weaveworks/kured:1.1.0

I found recently that occasionally one of the pods would get OOMKilled, so I raised the deployment limits slightly

resources:
  limits:
    cpu: 5m
-   memory: 16Mi
+   memory: 24Mi
  requests:
    cpu: 1m
-   memory: 8Mi
+   memory: 16Mi

I originally chose the numbers off of observed usage values reported by Prometheus over a 48 hour period.
So far I've seen no issues with the updated values.

I should also point out that I have the Slack integration enabled but nothing else differs from the default deployment values.

from kured.

patrickmslatteryvt avatar patrickmslatteryvt commented on June 16, 2024 2

I did note some issues today on a new cluster, after turning off memory limits I saw the memory usage climb to 40Mi on the kured pod on the node that that was actively being drained.
Therefore I raised my memory limits to 48MB.

resources:
  limits:
    cpu: 5m
-   memory: 24Mi
+   memory: 48Mi
  requests:
    cpu: 1m
    memory: 16Mi

from kured.

ac-astuartkregor avatar ac-astuartkregor commented on June 16, 2024 1

I've had a chance to run kured for a few weeks and it does seem to be behaving itself with more stringent memory limits. I've not noticed it running into problems. Perhaps it'd be worth me putting in a PR for limits and requests.

from kured.

ac-astuartkregor avatar ac-astuartkregor commented on June 16, 2024

Thanks for the details of your experience @patrickmslatteryvt, I'll try and take a look at any version updates. I'm looking to apply requests and limits to the daemonset myself, and this is when I discovered the memory usage.

I'll bump the version and report back.
EDIT: Looks like we're already running 1.1.0, though we have it deployed in the default namespace currently, with the intention of moving it to a purpose-made namespace for admin-deployed cluster services. That might be affecting things, but I'm doubtful. If anyone has any ideas, that'd be grand.

Alternatively I might just try and apply memory limits and see what happens.

from kured.

patrickmslatteryvt avatar patrickmslatteryvt commented on June 16, 2024

We are using the default and deploying it in kube-system but I somehow doubt that change would cause an increase in RAM usage.

from kured.

ac-astuartkregor avatar ac-astuartkregor commented on June 16, 2024

Indeed, I'd be tempted to agree. I've applied memory limits and it hasn't complained at me.. yet. Will keep an eye on things.

I'm thinking that perhaps it can use the extra memory if it needs to but has no issues being limited, though not sure.

from kured.

github-actions avatar github-actions commented on June 16, 2024

This issue was automatically considered stale due to lack of activity. Please update it and/or join our slack channels to promote it, before it automatically closes (in 7 days).

from kured.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.