Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Kubectl get memory usage of pod

kubectl exec pod_name -- /bin/bash
cat /sys/fs/cgroup/memory/memory.usage_in_bytes
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Kubectl #memory #usage #pod
ADD COMMENT
Topic
Name
4+9 =