I Created a script to help with k8s pod resource requests. Get Max utilization for k8s pods or docker containers during a workload

I created this specifically because I deploy several different applications to on prem k8s clusters and I have no idea what to put down for their resources requests in the pod definition.

Rather than guessing I have this script to keep track and display max utilization of cpu and ram while im doing some sort of workload

Deploy application => Start Profiling => Run Automated Testing => Read Results

Maybe I wouldn't use this for production deployments, but for automation testing teams utilizing k8s this could come in handy. I deploy lots of applications in parallel for parallel testing and rather than killing my cluster, if I use resource requests then overutilized k8s pods wait their turn before deploying.

submitted by