Resources Advisor

Understand how the Kubernetes Resources Advisor Works. How to Get The Best Value Out of Your Kubernetes Cluster. How To Optimize Your Applications and Containers

The Resources Advisor analyzes your applications and workloads resources usage to give you the best CPU/Memory requests and limits values.

Resources Calculations 

Magalix Resources Advisor makes sure that you balance the allocation of your resources to avoid wasting resources or negatively impacting the performance/reliability of your applications. Magalix Resources Advisor recommends memory and CPU optimizations based on the below criteria:  
  • CPU request calculation is based on the 95th percentile of your CPU usage the last 7 days + a 5% buffer.
  • Memory request is based on the max usage of your memory usage + 5% buffer.

Generated Issues & Recommendations by the Resources Advisor

Magalix Resources Advisor generates 5 kinds of issues that you will see under optimization issues. 

Missing memory and CPU resources

These issues are generated when one or more containers are missing one of the resources definitions, i.e missing resources.cpu.requests or resources.cpu.limits.

CPU Starved

These issues are generated when one or more containers are throttled, or when your container recousrces.cpu.limit is higher than the recommended CPU limit by the advisor.

Wasted CPU

These issues are generated when one or more containers are using less than 80% of the requested resources.

Starved Memory

These issues are generated when one or more containers are hitting or about to hit the allocated memory limit. 

Wasted Memory

These issues are generated when one or more containers are consistently using less than 80% of the requested memory value.