I have some machines that are behind a proxy. Those machines has a K8s installed. I have been having problems to use some commands of the k8s because I need to install some packages, therefore I need the proxy, but the internal IPs of k8s cannot communicate because the proxy does not recognize the IP pool of k8s and drop the packets.
I have try to use the environment variable
no_proxy like this:
#Inside of the /etc/environment after setting the Proxy environment variables no_proxy="localhost, 127.0.0.1, 169.254.25.10, 10.30.23.*, *.cluster.local, *.svc.cluster.local"
However, I think that the
no_proxy does not work because it cannot recognize the
10.30.23.* IP prefix. What can I do to avoid a complete prefix mask of IPs of the proxy?
Thank you all.