To do this you need to have an open port that allows authentication to the component you’re gathering metrics from. To do this you can do the following:
$ oc -n openshift-apiserver port-forward apiserver-9zm2n :8443 Forwarding from 127.0.0.1:36659 -> 8443
After you have this port open you can run any or ...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.