Does kubernetes create a pod on one node by default?

3/13/2018

When running kubectl create -f ./pod.json, by default, does Kubernetes create this pod on just one node in the cluster or multiple nodes?

-- Hao Luo
kubernetes

1 Answer

3/13/2018

Assuming pod.json contains a pod specification for a single pod then only one pod will be created on one node chosen by the scheduler (assuming pod.spec.nodeName is not set)

-- dippynark
Source: StackOverflow