laplasz
February 16, 2021, 3:18pm
4
is it possible that microk8s using the system proxy? how can I disable proxy settings for microk8s?
yes, that was it
i had to update /etc/environment
with NO_PROXY for microk8s IPs
Configuring the proxy environment variables
MicroK8s packages a number of utilities (eg curl, helm) that may need to fetch resources from the internet. Having our environment (/etc/environment) properly configured allows such utilities to function properly. We need to configure HTTPS_PROXY, HTTP_PROXY, https_proxy and http_proxy variables with the proxy endpoint as well as NO_PROXY and no_proxy with the IP ranges the pods and services occupy. For instance assuming our proxy is at http://squid.internal:3128, /etc/environment should set the following environment variables:
HTTPS_PROXY=http://s…