AliyunContainerService/gpushare-scheduler-extender

k3s services not started scheduler exited: stat /etc/kubernetes/scheduler.conf: no such file or directory

RotemAmergi opened this issue · 1 comments

Hi ,

I'm using k3s with version v1.25.4+k3s1 .

When i'm trying to run the new configuration that you did to version 1.23+

I used this commit - ab2a0ef

and get the error
k3s services not started scheduler exited: stat /etc/kubernetes/scheduler.conf: no such file or directory .

this is come from https://github.com/AliyunContainerService/gpushare-scheduler-extender/blob/master/config/scheduler-policy-config.yaml

This is missing at k3s -

clientConnection: kubeconfig: /etc/kubernetes/scheduler.conf

Thanks

Hello,

You need check permissions then check the correct scheduler-policy file in the path /etc/kuberbetes and mount it under your kube-schedule as documentation says https://github.com/AliyunContainerService/gpushare-scheduler-extender/blob/master/config/kube-scheduler-v1.23%2B.yaml