Metricbeat not reporting on port 10255 anymore using latest kubernetes, how to use the secured port 10250?

Yes, probably you have to change localhost to the name of the node. In our default manifests we added the NODE_NAME env var for this. So if you have it reported, just switch to ${NODE_NAME}:10250.