Kubernetes Calico proxyconnect - lookup - "http: no such host"

4/14/2020

Identical StackOverflow Question On Proxy

I know that this is related to this problem of the proxy setting, but the author of this question did not actually answer the question.

I do have a proxy configured in my (1) Docker http-proxy.conf & (2) /etc/environment files.

I have also configured the NO_PROXY & no_proxy environment variables to include my POD CIDR network. I added this into my no_proxy configurtion per another reference that frankly, I can't remember during my installation and "kubeadm init".

I seemed to need te POD CIDR network to be set to not use the proxy.

Can someone please help clarify how to set the proxy properly?

I'm also confused as to how the node name of the MASTER node ended up with it's IP address as the node name, when in the /etc/hosts and "hostname" shows my descriptive "client-master-node" name. Any ideas here? Is this going to cause an issue for the internal DNS? Is this related to my problem?

I'm using the Calico CNI with Kubernetes 1.18.1 on CentOS 7.7

Many thanks in advance.

One TwoThree

-- jmarcedwards
calico
http-proxy
kubernetes
proxy

0 Answers