Using API calls to obtain OpenShift metrics

Updated -

Prerequisites

To hit the APIs using curl, you will need to be logged into OpenShift as a user with a token (note that system:admin does not have a token). Also, that user will need to have at least cluster-reader permissions. There is currently an issue with OCP 3.4 and cluster-reader...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content