himekami
himekami

Reputation: 1459

how to differentiate docker container and kubernetes pods running in the same host

I was handed a kubernetes cluster to manage. But in the same node, I can see running docker containers (via docker ps) that I could not able to find/relate in the pods/deployments (via kubectl get pods/deployments).

I have tried kubectl describe and docker inspect but could not pick out any differentiating parameters.

How to differentiate which is which?

Upvotes: 0

Views: 195

Answers (1)

coderanger
coderanger

Reputation: 54211

There will be many. At a minimum you'll see all the pod sandbox pause containers which are normally not visible. Plus possibly anything you run directly such as the control plane if not using static pods.

Upvotes: 1

Related Questions