简体   繁体   中英

Check the maximum usage of kubernetes pod

I want to check the maximum and average of kubernetes Pod. and I tried to find it but cannot get any relevant information. Also, I checked the Lens (third-party software) but only get the current usage and it only shows usage, limit for past 1 hour.

How to find the maximum usage of Pod?

If you don't specify the ressources Limits in your config creation yaml file, it will takes by default those values :

Create the Pod. The output shows that the Pod's container has a memory request of 256 MiB and a memory limit of 512 MiB. These are the default values specified by the LimitRange

You have more infos here

You have an article here , if you want to specify your pods limit manually.

PS: if you enable promotheus in your Lens, you can visualize your different metrics (pods usage and limits for the cpu, memory, network, and filessytem)

kubectl describe quota 

或者在不同的命名空间中:

kubectl describe quota --namespace=<your-namespace>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM