从今天开始全新安装的Minikube 0.5.0和Kubectl 1.3.0(我的机器运行的是ubuntu 14.04 64位)。
只需启动Minikube启动minikube,一切似乎运行正常(Vbox机器已创建并启动)但由于证书问题,联系集群似乎不可能:
laurent@ponyo:~$kubectl cluster-info
Unable to connect to the server: x509: cannot validate certificate for 192.168.99.101 because it doesn't contain any IP SAN
kubectl配置视图运行正常并输出以下配置
laurent@ponoy:~$ kubectl config view
apiVersion: v1
clusters:
- cluster:
certificate-authority: /home/laurent/.minikube/apiserver.crt
server: https://192.168.99.101:443
name: minikube
contexts:
- context:
cluster: minikube
user: minikube
name: minikube
current-context: minikube
kind: Config
preferences: {}
users:
- name: minikube
user:
client-certificate: /home/laurent/.minikube/apiserver.crt
client-key: /home/laurent/.minikube/apiserver.key
关于这个问题的任何线索?在启动minikube有关证书配置之前是否有任何额外步骤?是否有关于如何解决这个问题的指针?
感谢您的帮助,
答案 0 :(得分:0)
您现在可以将env vars传递到minikube VM(例如HTTP_PROXY或HTTPS_PROXY)
https://github.com/kubernetes/minikube#using-minikube-with-an-http-proxy