Hi all,
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"
# ./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. **
Environment:
pbs_ver. : 19.1.2
kubernetes ver : 1.15.3 (build with kubeadm)
- kubernetes.go file
line 72
var (
apiHost = “127.0.0.1:8001”
↓
var (
apiHost = “<kube-apiserver Pod’s IP>:6443”
- pbs_kubernetes.CF
{
“kubelet_config”: “”
}
↓
{
“kubelet_config”: “/var/lib/kubelet/config.yaml”
}
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.
thanks,
Aki