when I am using top command in kubenretes pod, it seems show the host top info:
Mem: 3546380K used, 165952K free, 44196K shrd, 24K buff, 1093396K cached
CPU: 6% usr 3% sys 0% nic 87% idle 0% io 0% irq 0% sirq
Load average: 0.10 0.18 0.32 3/781 44
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
1 0 root S 21952 1% 0 0% ./cv-render
24 0 root S 1712 0% 0 0% sh
44 24 root R 1628 0% 1 0% top
the 4GB memory is the host machine. is it possible to show the memory with kubenretes resource limits? For example, the kubenetes pod max limit was 200MB. the cv-render process using 120MB. not the host machine, from the kubernetes pod top command, I can hardly known the process usage and the kubernetes will trigger the OOMKill with unexpect way.