See for installing an OpenShift origin container provider.
Current architecture diagram:
Smart State Analysis demo with technical comments
Current architecture diagram:
For the future it is planned for Kubelet to update statistics in the Master API Server and Heapster will collect the metrics from there.