Hi All, I am doing custom scheduler quiz, but when my custom running and deploye . . .

Huda Ridwan:
Hi All, I am doing custom scheduler quiz, but when my custom running and deployed. the quiz is still incorrect. I copy paste yaml from /var/answer the result is the same. There is another to fix from answer yaml file ?


Munish Kumar Anand:
You don’t have to make my-scheduler as static. You can simply run it as normal pod. In order to fix it, copy yaml file of my scheduler from /etc/kubernetes/manifests to /root. Delete my-scheduler-controlplane pod and recreate it from yaml file.

Huda Ridwan:
Thanks for your answer @Munish Kumar Anand. but why I cannot deploy it as static pod ? so it can be scheduled in node01 instead of controlplane/ master ?

sadiq1425:
The my-scheduler is expected to run on control plane .

Huda Ridwan:
Oh I see. this is because we keep it the name of my-scheduler if we deploy it using static pod the name of scheduler become my-scheduler-controlplane

Huda Ridwan:
Thanks everyone !

sadiq1425:
yes becuase of the post-suffix

Huda Ridwan:
Thanks again @sadiq1425