Kubernetes - Controller-manager and Scheduler is not listening on ports 10251-10252

I received an answer from the kubernetes support that these ports are depreciated and the new ports i.e. 10257 and 10259 will be used for the same but requires authentication to fetch the metrics. I guess now it is on prometheus side if they support this and is documented somewhere on how to do it.