$SERVER in POST request while creating the manual scheduler

What will be the value of $SERVER in “http://$SERVER/api/v1/namespaces/default/pods/$PODNAME/binding/”?

How can I find the value of $SERVER?

This should be the api sever (along with the port) , you can get it from kubectl cluster-info if you have the kuebconfig set up.

Thanks that worked. I was able to create manual scheduler

1 Like