Set up proxy for kubeadm
在.bashrc
中添加:
export http_proxy=http://127.0.0.1:3128/
export HTTP_PROXY=http://127.0.0.1:3128/
export https_proxy=$http_proxy
export HTTPS_PROXY=$http_proxy
printf -v lan '%s,' 10.221.117.198 # ip of the machine
printf -v pool '%s,' 192.168.0.{
1..253}
printf -v service '%s,' 10.96.0.{
1..253}
export