How to configure HTTP-proxy on oc command line interface

Solution Unverified - Updated -

Issue

  • oc command line interface need to have a http-proxy configuration set to reach a OCP cluster
    • for example to access an OCP cluster in a public cloud from a corporate network

Environment

  • Red Hat OpenShift Container Platform [OCP] 3.x

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