mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-02 02:21:22 +00:00
Automatic merge from submit-queue kubectl top pod|node should handle when Heapster is somewhere else OpenShift runs Heapster on HTTPS, which means `top node` and `top pod` are broken because they hardcode 'http' as the scheme. Provide an options struct allowing users to specify `--heapster-namespace`, `--heapster-service`, `--heapster-scheme`, and `--heapster-port` to the commands (leveraging the existing defaults). @kubernetes/sig-metrics makes top a little more useful in other spots