Logging in to a large OpenShift cluster on the CLI lists too many projects

Solution Verified - Updated -

Issue

  • After logging into a cluster through the CLI, a list of projects is printed out to stdout. Is it possible to disable that feature so that after login only status i.e failed/successful login is displayed.
  • Is there an option to log into a cluster like oc login --silent where it would let user log in and not display/print the 1000+ projects they have on their cluster?

Environment

  • OpenShift Container Platform 3.6, 3.7

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.