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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.