peter
peter

Reputation: 107

What does host's top command show about CPU/Memory utilization by kubenetes pods

If I issue top command in a node of a kubenetes cluster, would it show CPU and Memory utilization of processes that are running inside docker as part of Kubenetes cluster? If so how would they be named?

Upvotes: 0

Views: 82

Answers (1)

PapEr
PapEr

Reputation: 874

As we can see from Isolate containers with a user namespace

Linux namespaces provide isolation for running processes, limiting their access to system resources without the running process being aware of the limitations

Docker uses Linux namespaces to isolate the processes, it never changes the fact, the processes running in docker is simply ones in host with limitations.

So you can always see the CPU and Memory utilization of all the processes inside or outside Docker.

For how would they be named, they named with the process name run inside docker.

Upvotes: 3

Related Questions