MacOSでVirtualboxを使ってminikube v0.22.1とkubectl v1.7.5を実行しようとしています。Minikube:kubectl接続が拒否されました - あなたは正しいホストまたはポートを指定しましたか?
$ minikube start
Starting local Kubernetes v1.7.5 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.
$ minikube version
minikube version: v0.22.1
$ minikube status
minikube: Running
cluster: Running
kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100
は、しかし、すべてのkubectl
コマンドが失敗すると、「接続が拒否 - あなたは右のホストまたはポートを指定したのですか?」
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-08-31T19:32:26Z", GoVersion:"go1.9", Compiler:"gc", Platform:"darwin/amd64"}
The connection to the server 192.168.99.100:8443 was refused - did you specify the right host or port?
ソリューションはhere(sudo ifconfig vboxnet0 up
)が助けにはならなかった提案、vboxnet0インターフェイスがアップしています。
ご意見やご提案をいただければ幸いです。
私は、Windows 10のユーザーのための答えを投稿しました。あなたは使用しているOSで質問を更新できますか? – Byebye