Manual Scheduling

If the cluster doesn’t have kube-scheduler, we can manually schedule a pod to a node by setting the nodeName property. This can only be done when the pod is created. To schedule a pod on another node, recreate the pod.

apiVersion: v1
kind: Pod
metadata:
  labels:
    name: frontend
spec:
  containers:
	  - name: httpd
	    image: httpd:2.4-alpine
	nodeName: node02

Scheduling Plugins

Untitled

The scheduler has 4 phases, each having a set of plugins that operate at that phase.