How to add option to Rancher scheduler?

Hi everyone,

I want to add a policy file into the startup option of scheduler to test GPU fraction, It would be like this

kube-scheduler --policy-config-file=/etc/kubernetes/scheduler-policy-config.json

I can’t find this component on Rancher UI or using kubectl -n kube-system.

Configuring clusters can be found at https://rancher.com/docs/rancher/v2.x/en/cluster-admin/editing-clusters/#editing-cluster-as-yaml, you need to place the specific file on the nodes (I assume you have that created)

1 Like

Thanks @superseb,

I found another way to add 2nd scheduler to the cluster, I’ll try your solution to see If It can work.
Cheers.