Oi, Lais. td bem e vc?
dei uma lida nos topicos de instalação do kubernetes e do minikube e antes de instalar o minikube, pede para verificar o kubectl e depois o minikube.
Foi o que eu fiz com o comando abaixo:
kubectl version
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.0", GitCommit:"d3ada0119e776222f11ec7945e6d860061339aad", GitTreeState:"clean", BuildDate:"2017-06-29T23:15:59Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"windows/amd64"}
Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.
C:\tools\kubernetes>minikube version
minikube version: v0.22.1
Achei estranho esse retorno do kubectl version e não sei se está correto.
Também segui a orientação de colocar o path onde está o arquivo do kubectl e minikube acima do docker nas variaveis de ambiente do sistema.
Vi o issue q vc me passou e tentei colocar o comando que ele passou:
minikube start --alsologtostderr --kubernetes-version v1.13.2 --docker-env HTTP_PROXY=http://10.0.2.2:3128 --docker-env HTTPS_PROXY=http://10.0.2.2:3128 --docker-env NO_PROXY=10.0.2.2,192.168.99.100
apenas retirei o proxy, pq entendi assim, já que acho que aqui n tem proxy:
minikube start --alsologtostderr --kubernetes-version v1.13.2 --docker-env NO_PROXY=10.0.2.2,192.168.99.100
e recebi esse log:
C:\tools\kubernetes>minikube start --alsologtostderr --kubernetes-version v1.13.2 --docker-env NO_PROXY=10.0.2.2,192.168.99.100
W0722 10:11:39.741184 6152 root.go:147] Error reading config file at C:\Users\Rogerio\.minikube\config\config.json: open C:\Users\Rogerio\.minikube\config\config.json: The system cannot find the file specified.
I0722 10:11:39.876832 6152 notify.go:112] Checking for updates...
There is a newer version of minikube available (v1.2.0). Download it here:
https://github.com/kubernetes/minikube/releases/tag/v1.2.0
To disable this notification, run the following:
minikube config set WantUpdateNotification false
I0722 10:11:40.061049 6152 cache_images.go:154] Attempting to cache image: gcr.io/google_containers/pause-amd64:3.0 at C_\Users\Rogerio\.minikube\cache\images\gcr.io\google_containers\pause-amd64_3.0
I0722 10:11:40.061049 6152 cache_images.go:154] Attempting to cache image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.3 at C_\Users\Rogerio\.minikube\cache\images\gcr.io\google_containers\kubernetes-dashboard-amd64_v1.6.3
I0722 10:11:40.061049 6152 cache_images.go:154] Attempting to cache image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.4 at C_\Users\Rogerio\.minikube\cache\images\gcr.io\google_containers\k8s-dns-kube-dns-amd64_1.14.4
I0722 10:11:40.061049 6152 cache_images.go:154] Attempting to cache image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.4 at C_\Users\Rogerio\.minikube\cache\images\gcr.io\google_containers\k8s-dns-sidecar-amd64_1.14.4
I0722 10:11:40.061049 6152 cache_images.go:154] Attempting to cache image: gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.4 at C_\Users\Rogerio\.minikube\cache\images\gcr.io\google_containers\k8s-dns-dnsmasq-nanny-amd64_1.14.4
I0722 10:11:40.061049 6152 cache_images.go:154] Attempting to cache image: gcr.io/google-containers/kube-addon-manager:v6.4-beta.2 at C_\Users\Rogerio\.minikube\cache\images\gcr.io\google-containers\kube-addon-manager_v6.4-beta.2
I0722 10:11:40.303098 6152 kubernetes_versions.go:84] [{v1.10.0} {v1.9.4} {v1.9.0} {v1.8.0} {v1.7.5} {v1.7.4} {v1.7.3} {v1.7.2} {v1.7.0} {v1.7.0-rc.1} {v1.7.0-alpha.2} {v1.6.4} {v1.6.3} {v1.6.0} {v1.6.0-rc.1} {v1.6.0-beta.4} {v1.6.0-beta.3} {v1.6.0-beta.2} {v1.6.0-alpha.1} {v1.6.0-alpha.0} {v1.5.3} {v1.5.2} {v1.5.1} {v1.4.5} {v1.4.3} {v1.4.2} {v1.4.1} {v1.4.0} {v1.3.7} {v1.3.6} {v1.3.5} {v1.3.4} {v1.3.3} {v1.3.0}]
Invalid Kubernetes version.
The following Kubernetes versions are available:
- v1.10.0
- v1.9.4
- v1.9.0
- v1.8.0
- v1.7.5
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.0
- v1.7.0-rc.1
- v1.7.0-alpha.2
- v1.6.4
- v1.6.3
- v1.6.0
- v1.6.0-rc.1
- v1.6.0-beta.4
- v1.6.0-beta.3
- v1.6.0-beta.2
- v1.6.0-alpha.1
- v1.6.0-alpha.0
- v1.5.3
- v1.5.2
- v1.5.1
- v1.4.5
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.0
alguma sugestão de quais versões usar? Obrigado.