pod stuck at pending with custom scheduler

Jackie
1 min readJul 3, 2020

--

i have created a custom scheduler, which has been in running state.

however, when i create a new pod, assigning it to the custom scheduler, through .spec.schedulerName. the pod has been stuck in pending state.

here are the sample configuration

scheduler.yml

pod.yml

turns out the issue was with the --leader-elect. seems like the scheduler is not able to move forward with the --leader-elect set to true.

--

--

No responses yet