Cannot use toolbox in proxy environment
Environment
- OpenShift Container Platform
- 4.x
Issue
- The toolbox command doesn't work even though the cluster-wide proxy settings are properly configured.
- How to use toolbox in a proxy environment?
Resolution
Set HTTP_PROXY and HTTPS_PROXY manually, then execute the toolbox command.
# export HTTP_PROXY=http://<username>:<pswd>@<ip>:<port>
# export HTTPS_PROXY=http://<username>:<pswd>@<ip>:<port>
# toolbox
Root Cause
Even if you set a cluster-wide proxy, toolbox doesn't reference it. This is because cluster-wide proxy does not configure any settings for the OS.
SBR
Product(s)
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.