When I test Custom scheduler, but my pods status is still pending. https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
I made a new custom scheduler and 3 test pods like k8s sample yaml but, pods using 'default-scheduler' works well, but pods using 'my-scheduler' doesn't work.
I don't know how to fix this problem. Please help me.
1.Environment:
Kubernetes version (use
kubectl version):Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.5", GitCommit:"cce11c6a185279d037023e02ac5249e14daa22bf", GitTreeState:"clean", BuildDate:"2017-12-07T16:16:03Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.5", GitCommit:"cce11c6a185279d037023e02ac5249e14daa22bf", GitTreeState:"clean", BuildDate:"2017-12-07T16:05:18Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31"
Kernel (e.g.
uname -a):Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
2.procedure
- kubectl apply -f my-schudler.yaml
- when i setup ks8s using kubeadm, authorization option set to Node, RBAC, so I modified clusterrole like this kubectl edit clusterrole system:kube-scheduler


