HPE Morpheus Enterprise
1834712 Members
2077 Online
110069 Solutions
New Discussion

Kubectl not working when proxy configured

 
SOLVED
Go to solution
Niranpsk
Advisor

Kubectl not working when proxy configured

Hi Team,

We have configured appliance proxy with few no proxy IPs and FQDN for internal network integration. OCP cluster is reachable via network (not via proxy). we can successfully integrated OCP however we couldnt run the kubectl commands as it is still going thru the proxy even OCP api IP and FQDN in no proxy. I have tried run kubectl command directly on CMP APP VM, same behavior observed. I set ocp api fqdn no_proxy env variables and successfully run kubectl / oc commands.

Any advise how should force CMP to not to use proxy when connecting to OCP?

Thanks.

2 REPLIES 2
Niranpsk
Advisor

Re: Kubectl not working when proxy configured

Thanks for the update. Got the same update from support.
Do we have any workaround for this issue?

dgaharwar
Trusted Contributor
Solution

Re: Kubectl not working when proxy configured

I believe there was an issue where we were not passing global proxy settings into the environment for grabbing kubectl. But this was fixed in Morpheus version 7.0.7.