By Wim de Vries
I have installed Kubernetes Metrics Server on my cluster using a ‘1-Click App’ from the ‘Marketplace’ tab on the DO website. Now, when I connect to my cluster using K9s, it reports a memory usage of 94%. But when I go to the ‘Insights’ tab for my cluster on the DO website, I get reported a memory usage of about 54%. Does anyone have an idea where this (big) difference comes from? (The reported CPU usages do seem to match.)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey!
I’ve also noticed a similar behaviour with K9s for some of my clusters that I’m running onprem.
I think that it’s because K9s typically only has a node-level perspective, eg. memory usage from the viewpoint of an individual node in the cluster.
But on the other side the DigitalOcean Insights has a cluster-wide perspective and aggregates memory usage across all nodes and underlying infrastructure components rather than a single node.
Also, the way metrics are aggregated and averaged over time can slightly influence the reported values.
I believe that with any tool, it’s normal and expected to see some difference, and what you can do is to rather than fixating on precise percentages, observe the trends reported by both tools. Are memory usage spikes in Metrics Server mirrored in DigitalOcean’s Insights? This is often more helpful for operational insights.
Hope that this helps!
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.