我是Kubernetes的新手.在Kubernetes文档的帮助下,我安装了minikube(v0.24.1)并kubectl在我的Windows机器上.VirtualBox(版本5.1.18)也安装在我的机器上.
在开始之前minikube,我已经执行set HTTP_PROXY=xx.xx.xx:8080并set NO_PROXY=localhost,127.0.0.0/8,192.0.0.0/8在Windows命令提示符下
minikube通过传递代理详细信息开始
C:\minikube>minikube start --memory 4096 --vm-driver=virtualbox --docker-env http_proxy=xx.xx.xx:8080 --docker-env https_proxy=xx.xx.xx:8080 --docker-env no_proxy=localhost,127.0.0.0/8,192.0.0.0/8 --cache-images=false
Starting local Kubernetes v1.9.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.
Loading cached images from config file.
Run Code Online (Sandbox Code Playgroud)
来自Kubectl的错误:
C:\minikube>kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T21:07:38Z", …Run Code Online (Sandbox Code Playgroud)