Can a K8S node host pods belonging to different namespaces?

4/24/2021

Say a K8S node has 2 pods running on it. I know that a K8S node itself does not belong to a namespace. But can the two pods it hosts belong to different namespaces?

-- adi
kubernetes
kubernetes-pod

1 Answer

4/24/2021

But can the two pods it hosts belong to different namespaces?

Yes, nodes can host pods from any namespace. But scheduling of Pods can be restricted in other ways, e.g. using Taints and Tolerations

-- Jonas
Source: StackOverflow