Manual Scheduling
- k8 adds this
nodeName
property
- scheduler goes through all the pods and looks for pods that do not have this property set
- it then identifies the pods that nodeName value has not been set
if there are no schedulers in the cluster?
-
the pods always will be in a pending state
-
solution is to manually assign pods to nodes
-
we can only specify the nodeName at creation time. what if the pod is already created?
-
create a binding object and send a POST request to kubernetes binding api. it mimics what the actual scheduler does
you should enter the data from binding object. (before thing you should convert the yaml data to equivalent json format)