[求助帖] minikube addons enable ingress 卡住,设置 http_proxy/https_proxy 都不走代理

2020-11-19 09:51:41 +08:00
 JJstyle

根据文档说明的设置代理: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

谢谢!

643 次点击
所在节点    Kubernetes
1 条回复
JJstyle
2020-11-19 16:56:03 +08:00
resolved!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/726977

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX