kube-apiserver
purple-pod
client
brown-pod
indigo-pod
etcd
kube-scheduler
kube-controller-manager
kubelet
kubelet
kubelet
blue-pod
red-pod
pink-pod
green-pod
kube-scheduler watches for new pods with no nodeName assigned. Once it finds one, it update the nodeName key and schedules it.
etcd is where k8s objects are persisted. In this case it will persist the information about the new pods.
Based on the value of nodeName, kubelet launches the pod.
1
2%3CmxGraphModel%3E%3Croot%3E%3CmxCell%20id%3D%220%22%2F%3E%3CmxCell%20id%3D%221%22%20parent%3D%220%22%2F%3E%3CmxCell%20id%3D%222%22%20value%3D%221%22%20style%3D%22ellipse%3BwhiteSpace%3Dwrap%3Bhtml%3D1%3BfillColor%3D%23FFFFFF%3B%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%22460%22%20y%3D%22290%22%20width%3D%2220%22%20height%3D%2220%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3C%2Froot%3E%3C%2FmxGraphModel%3E
3
4
new incoming pods.