问题
在使用Kubernetes Dashboard过程中发现,需要运行如下命令:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml
但总是不能成功下载该文件。
解决
安装proxychains4
brew install proxychains-ng
该软件的配置文件位于/usr/local/etc/proxychains.conf
。
安装Kubernetes Dashboard
proxychains4 kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml