April 2018
Intermediate to advanced
468 pages
14h 34m
English
Running another custom scheduler is as simple as creating the deployment. This is the beauty of this encapsulated approach. Kubernetes is going to run a second scheduler, which is a big deal, but Kubernetes is unaware of what's going on. It just deploys a pod like any other pod, except this pod happens to be a custom scheduler:
$ kubectl create -f custom-scheduler.yaml
Let's verify that the scheduler pod is running:
$ kubectl get pods --namespace=kube-system NAME READY STATUS RESTARTS AGE .... custom-scheduler-7cfc49d749-lwzxj 1/1 Running 0 2m ...
Our custom scheduler is running.
Read now
Unlock full access