根据文档说明的设置代理:https://minikube.sigs.k8s.io/docs/handbook/vpn_and_proxy/
ss 已经启动:
➔ ss-local -c ss.config -vvv
2020-11-19 09:44:16 INFO: initializing ciphers... aes-256-cfb
2020-11-19 09:44:17 INFO: listening at 127.0.0.1:1090
2020-11-19 09:44:17 INFO: running from root user
minikuber 用户设置代理:
export http_proxy=socks5://127.0.0.1:1090
export https_proxy=socks5://127.0.0.1:1090
export no_proxy=localhost,127.0.0.1,192.168.49.2,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24
export HTTP_PROXY=socks5://127.0.0.1:1090
export HTTPS_PROXY=socks5://127.0.0.1:1090
export NO_PROXY=localhost,127.0.0.1,192.168.49.2,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24
minikuber 用户启用 ingress:
[minikuber@hostname ~]$ minikube addons enable ingress
🔎 Verifying ingress addon...
❌ Exiting due to MK_ENABLE: run callbacks: running callbacks: [waiting for app.kubernetes.io/name=ingress-nginx pods: timed out waiting for the condition]
😿 If the above advice does not help, please let us know:
👉 https://github.com/kubernetes/minikube/issues/new/choose
可以看出来,minikube addons enable ingress
并未启用代理!
环境:aliyun ecs,centos7
谢谢!
1
JJstyle OP resolved!
|