Cannot access pod logs when using proxy setting

Solution Verified - Updated -

Issue

  • Oc logs results in below error when using proxy settings :
 oc logs <pod-name>
Error from server: Get https://node.example.com:10250/containerLogs/<name-space>/<pod-name>/demo: Service Unavailable
  • Unable to login to with oc.exe via an authenticated proxy
  • Oc exec or oc logs not working when using proxy

Environment

  • Openshift Enterprise
    • 3.x

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