<p>I'm looking for a way to find:</p>
<ol>
<li>The current usage of CPU and RAM of each pod running.</li>
<li>The configured CPU and RAM of each pod.</li>
</ol>
<p>One side is to identify the resource usage, and the other is to identify if it was patched manually or via the deploy YAML.</p>

Frank N Stein
<p>The first part of your question is answered with the kubectl top command.
The second part is here</p>
<p>You specify the initial cpu and memory and the max cpu and memory in the pod spec.</p>
<pre><code>spec:
  containers:
  - name: cpu-demo-ctr
    image: vish/stress
    resources:
      limits:
        cpu: &quot;1&quot;
        memory: &quot;400Mi&quot;
      requests:
        cpu: &quot;0.5&quot;
        memory: &quot;200Mi&quot;
</code></pre>
<p>There is a guide in the Kubernetes documentation here :
<a href="https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/" rel="nofollow noreferrer">enter link description here</a></p>
