Is it possible to see vRAM for each Pod, if yes, what's the command?

Cloud_CKA:
is it possible to see vRAM for each Pod, if yes, what’s the command ?

Fernando Jordan Silva:
kubectl top pod ?

Cloud_CKA:
Thanks, that is used to check the current status which is dynamic. I would like to know about the max limit of each pod RAM pls ?

Fernando Jordan Silva:
I think that there is no command for that, sorry

Cloud_CKA:
Ok, Thanks

Preetam:
You cannot directly check through a command but you need to use json format output for this details which will list the req and limits set for all pods in that namespace

Preetam:
This is the command with details to capture in a CSV format

Preetam:
kubectl get pods -o=jsonpath="{range .items[]}{.metadata.name}{’\t’} {range .spec.containers[]}{.image}{’\t’} {‘requests.cpu -’} {.resources.requests.cpu}{’\t’} {‘limits.cpu -’} {.resources.limits.cpu}{’\t’} {‘requests.memory -’} {.resources.requests.memory}{’\t’} {‘limits.memory -’} {.resources.limits.memory}{’\t’} {’\n’}{end}\ {’\n’}{end}" > regre_cpu_mem.csv

Preetam:
Hope it helps

Cloud_CKA:
Thanks for your revert Preetam, I will try this command.