Connection refused for KubeScheduler and KubeControllerManager
The origin of this problem is similar for both components. We present the solution for the scheduler, which will be easily applicable for the controllerManager as well. Going to the Status/Targets section of the Prometheus UI you should see a situation similar to the following
...
Info | ||
---|---|---|
| ||
Moving to the official documentation we get some info regarding the
Since the default is port 10251, deleting or commenting the parameter would have the same result. |
Connection refused for KubeProxy
If you get the following error it's because the metrics bind address of kube-proxy is default to 127.0.0.1:10249
, that prometheus instances cannot access to. You should expose metrics by changing metricsBindAddress
field value to 0.0.0.0:10249
, if you want to collect them.
...