I stuck at adding additional scheduler to the cluster in “Practice Test Multiple Scheduler” Q3 I created scheduler as per answer. Can anyone help on it please?
This is not running
check the status first
Here is the Yaml
- mountPath: /etc/kubernetes/scheduler.conf
when I compare with the answer both are identical. But still when I try to check its showing error
how you created this pod?
created the my-scheduler.yaml in /etc/kubernetes/manifests folder
and checking by using : k get po -A -n kube-system -w
mmm it should works
maybe some delays in the KodeKloud platform
@PP I guess it’s probably they are not expecting you to create that scheduler as a static pod. Try creating the pod as usual (kubectl apply -f <filename>) instead of placing it in the manifest dir.
@Ram I confirm I created it as a static pod
even because it’s a scheduler
Yes @Ram Its scheduler. Also in the question they said copy the existing scheduler and change the specification as mentioned
I believe Lab environment has some issue.
Let me try another time
Sure. I was curious and just tried it myself. It worked for me as a non-static pod. If you notice, the static pod’s name will be “my-scheduler-controlplane” and not “my-scheduler” as expected in the question. Probably that was the trick. For the following question also, I was able to schedule a pod using my new scheduler