<p>For regular pods (in running state), we can check the <strong>actual</strong> resource utilisation (runtime) using <code>kubectl top pod &lt;pod_name&gt;</code> command.
However, for the job pods (execution is already complete), any way we can fetch how much resources were consumed by those pods?</p>
<p>Getting this info does help to better tune the resource allocation and also, whether we over/under provisioning the requests for the job pods.</p>
<p>Kuberenetes version</p>
<pre><code>Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;23&quot;, GitVersion:&quot;v1.23.3&quot;, GitCommit:&quot;816c97ab8cff8a1c72eccca1026f7820e93e0d25&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2022-01-25T21:25:17Z&quot;, GoVersion:&quot;go1.17.6&quot;, Compiler:&quot;gc&quot;, Platform:&quot;darwin/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;22&quot;, GitVersion:&quot;v1.22.13&quot;, GitCommit:&quot;a43c0904d0de10f92aa3956c74489c45e6453d6e&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2022-08-17T18:23:45Z&quot;, GoVersion:&quot;go1.16.15&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
</code></pre>
<p>If not any direct way, maybe a work-around to get this info.</p>

<p>There is no command that can show a job resource utilisation. The only option is using an external tool like the prometheus or make a sidecar container with logging resources usage.</p>
