Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no kind "KubeSchedulerConfiguration" is registered for version "kubescheduler.config.k8s.io/v1" in scheme "k8s.io/kubernetes/pkg/scheduler/apis/config/scheme/scheme.go:30" #184

Open
huchen2021 opened this issue May 15, 2023 · 3 comments

Comments

@huchen2021
Copy link

carina-scheduler-5f7b889fc-xt4p5 启动不起来
$ kubectl get pods -n kube-system |grep carina
carina-admission-create-b9n49 0/1 Completed 0 71m
carina-admission-patch-vh29h 0/1 Completed 2 71m
carina-scheduler-5f7b889fc-xt4p5 0/1 CrashLoopBackOff 18 (101s ago) 71m
csi-carina-node-chf5x 3/3 Running 0 71m
csi-carina-provisioner-7cc688d959-vkq5f 4/4 Running 0 71m

看log报这个
$ kubectl logs carina-scheduler-5f7b889fc-xt4p5 -n kube-system
no kind "KubeSchedulerConfiguration" is registered for version "kubescheduler.config.k8s.io/v1" in scheme "k8s.io/kubernetes/pkg/scheduler/apis/config/scheme/scheme.go:30"

有人知道是怎么回事吗?

@nineep
Copy link

nineep commented Nov 7, 2023

carina-scheduler-5f7b889fc-xt4p5 启动不起来 $ kubectl get pods -n kube-system |grep carina carina-admission-create-b9n49 0/1 Completed 0 71m carina-admission-patch-vh29h 0/1 Completed 2 71m carina-scheduler-5f7b889fc-xt4p5 0/1 CrashLoopBackOff 18 (101s ago) 71m csi-carina-node-chf5x 3/3 Running 0 71m csi-carina-provisioner-7cc688d959-vkq5f 4/4 Running 0 71m

看log报这个 $ kubectl logs carina-scheduler-5f7b889fc-xt4p5 -n kube-system no kind "KubeSchedulerConfiguration" is registered for version "kubescheduler.config.k8s.io/v1" in scheme "k8s.io/kubernetes/pkg/scheduler/apis/config/scheme/scheme.go:30"

有人知道是怎么回事吗?

根据你k8s版本 修改一下apiVersion: kubescheduler.config.k8s.io/v1

@nineep
Copy link

nineep commented Nov 7, 2023

carina-scheduler-5f7b889fc-xt4p5 启动不起来 $ kubectl get pods -n kube-system |grep carina carina-admission-create-b9n49 0/1 Completed 0 71m carina-admission-patch-vh29h 0/1 Completed 2 71m carina-scheduler-5f7b889fc-xt4p5 0/1 CrashLoopBackOff 18 (101s ago) 71m csi-carina-node-chf5x 3/3 Running 0 71m csi-carina-provisioner-7cc688d959-vkq5f 4/4 Running 0 71m

看log报这个 $ kubectl logs carina-scheduler-5f7b889fc-xt4p5 -n kube-system no kind "KubeSchedulerConfiguration" is registered for version "kubescheduler.config.k8s.io/v1" in scheme "k8s.io/kubernetes/pkg/scheduler/apis/config/scheme/scheme.go:30"

有人知道是怎么回事吗?

https://kubernetes.io/zh-cn/docs/reference/config-api/kube-scheduler-config.v1beta3/

@nineep
Copy link

nineep commented Nov 7, 2023

carina-scheduler-5f7b889fc-xt4p5 启动不起来 $ kubectl get pods -n kube-system |grep carina carina-admission-create-b9n49 0/1 Completed 0 71m carina-admission-patch-vh29h 0/1 Completed 2 71m carina-scheduler-5f7b889fc-xt4p5 0/1 CrashLoopBackOff 18 (101s ago) 71m csi-carina-node-chf5x 3/3 Running 0 71m csi-carina-provisioner-7cc688d959-vkq5f 4/4 Running 0 71m

看log报这个 $ kubectl logs carina-scheduler-5f7b889fc-xt4p5 -n kube-system no kind "KubeSchedulerConfiguration" is registered for version "kubescheduler.config.k8s.io/v1" in scheme "k8s.io/kubernetes/pkg/scheduler/apis/config/scheme/scheme.go:30"

有人知道是怎么回事吗?

比如 v1beta3, v1beta2, v1beta1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants