I want to use the kubernetes-pbspro-connector plugin.
I set up following this Github page Kubernetes Connector for PBS Professional, but I got the following error in " Run the Scheduler"
Starting Scheduler Iteration
Error code: 400 Bad Request
So, **please tell me what is wrong with my settings of config file, or other mistake. **
pbs_ver. : 19.1.2
kubernetes ver : 1.15.3 (build with kubeadm)
- kubernetes.go file
apiHost = “127.0.0.1:8001”
apiHost = “<kube-apiserver Pod’s IP>:6443”
I think this setting is wrong. But I should not set a direcotry argument of kubelet --config.
I don’t understand the following sentences properly:
Setup kubelet to a watched directory by using the --config option. The value to --config is the directory that the kubelet will watch for pod manifests to run. First create a directory for this, and then start the kubelet.