kubepack/swift

Failed to connect to tiller

naeemrashid opened this issue · 12 comments

I have deployed swift on minikube using this command mentioned in docs

$ curl -fsSL https://raw.githubusercontent.com/appscode/swift/0.7.3/hack/deploy/swift.sh \
    | bash

But curl -X GET http://192.168.99.100:31962/tiller/v2/version/json gives nothing
when i looked into pods logs it gave me this

$ kubectl logs swift-79dbccf59b-5fkfc --namespace=kube-system 
I0329 12:25:16.092129       1 logs.go:19] FLAG: --alsologtostderr="false"
I0329 12:25:16.099083       1 logs.go:19] FLAG: --analytics="true"
I0329 12:25:16.100008       1 logs.go:19] FLAG: --api-domain=""
I0329 12:25:16.100060       1 logs.go:19] FLAG: --connector="incluster"
I0329 12:25:16.100079       1 logs.go:19] FLAG: --cors-origin-allow-subdomain="true"
I0329 12:25:16.100149       1 logs.go:19] FLAG: --cors-origin-host="*"
I0329 12:25:16.101998       1 logs.go:19] FLAG: --enable-cors="false"
I0329 12:25:16.102039       1 logs.go:19] FLAG: --help="false"
I0329 12:25:16.102055       1 logs.go:19] FLAG: --kube-context=""
I0329 12:25:16.102070       1 logs.go:19] FLAG: --log-rpc="false"
I0329 12:25:16.102087       1 logs.go:19] FLAG: --log_backtrace_at=":0"
I0329 12:25:16.102101       1 logs.go:19] FLAG: --log_dir=""
I0329 12:25:16.102116       1 logs.go:19] FLAG: --logtostderr="false"
I0329 12:25:16.102130       1 logs.go:19] FLAG: --plaintext-addr=":9855"
I0329 12:25:16.102144       1 logs.go:19] FLAG: --secure-addr=":50055"
I0329 12:25:16.102158       1 logs.go:19] FLAG: --stderrthreshold="0"
I0329 12:25:16.102172       1 logs.go:19] FLAG: --tiller-ca-file=""
I0329 12:25:16.102187       1 logs.go:19] FLAG: --tiller-client-cert-file=""
I0329 12:25:16.102202       1 logs.go:19] FLAG: --tiller-client-private-key-file=""
I0329 12:25:16.102216       1 logs.go:19] FLAG: --tiller-endpoint=""
I0329 12:25:16.102230       1 logs.go:19] FLAG: --tiller-insecure-skip-verify="true"
I0329 12:25:16.102247       1 logs.go:19] FLAG: --tiller-timeout="5m0s"
I0329 12:25:16.102261       1 logs.go:19] FLAG: --tls-ca-file=""
I0329 12:25:16.102275       1 logs.go:19] FLAG: --tls-cert-file=""
I0329 12:25:16.102289       1 logs.go:19] FLAG: --tls-private-key-file=""
I0329 12:25:16.102303       1 logs.go:19] FLAG: --v="3"
I0329 12:25:16.102318       1 logs.go:19] FLAG: --vmodule=""
I0329 12:25:47.011335       1 gateway.go:33] Registering grpc-gateway endpoint: RegisterReleaseServiceHandlerFromEndpoint
I0329 12:25:47.011339       1 server.go:46] [[GRPCSERVER] Starting gRPC Server at addr [::]:9855]
I0329 12:25:47.011366       1 resolver_conn_wrapper.go:68] dialing to target with scheme: ""
I0329 12:25:47.011364       1 grpc.go:29] Registering grpc server: *release.Server
I0329 12:25:47.011395       1 server.go:51] [[PROXYSERVER] Sarting Proxy Server at port [::]:9855]
I0329 12:25:47.011423       1 resolver_conn_wrapper.go:117] ccResolverWrapper: sending new addresses to cc: [{127.0.0.1:9855 0  <nil>}]
I0329 12:25:47.011434       1 clientconn.go:741] ClientConn switching balancer to "pick_first"
I0329 12:25:47.011541       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc42034cfb0, CONNECTING
I0329 12:25:47.011797       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc42034cfb0, READY
I0329 12:31:34.718936       1 proto_errors.go:49] Failed to extract ServerMetadata from context
I0329 12:32:03.078105       1 proto_errors.go:49] Failed to extract ServerMetadata from context
I0329 12:34:15.351107       1 proto_errors.go:49] Failed to extract ServerMetadata from context
I0329 12:34:39.279547       1 resolver_conn_wrapper.go:68] dialing to target with scheme: ""
I0329 12:34:39.279616       1 resolver_conn_wrapper.go:117] ccResolverWrapper: sending new addresses to cc: [{tiller-deploy:44134 0  <nil>}]
I0329 12:34:39.279627       1 clientconn.go:741] ClientConn switching balancer to "pick_first"
I0329 12:34:39.279683       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:34:59.279955       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:34:59.280232       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:34:59.280524       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:35:19.281162       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:35:19.281239       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:35:19.281511       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:35:39.281634       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:35:39.281698       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:35:39.281981       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:35:59.282383       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:35:59.282439       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:35:59.282570       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:36:19.282990       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: dial udp 10.96.0.10:53: i/o timeout". Reconnecting...
I0329 12:36:19.283042       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:36:19.283358       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:36:39.283620       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:36:39.283671       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:36:39.283946       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:36:59.284239       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:36:59.284328       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:36:59.284573       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:37:24.496705       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:37:24.496794       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:37:24.497101       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:38:04.506189       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: read udp 172.17.0.7:41994->10.96.0.10:53: i/o timeout". Reconnecting...
I0329 12:38:04.506243       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:38:09.930302       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:38:49.948547       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: read udp 172.17.0.7:33373->10.96.0.10:53: i/o timeout". Reconnecting...
I0329 12:38:49.949292       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, TRANSIENT_FAILURE
I0329 12:39:24.949964       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4202dc270, CONNECTING
W0329 12:39:39.279975       1 clientconn.go:830] Failed to dial tiller-deploy:44134: grpc: the connection is closing; please retry.
I0329 12:43:22.092350       1 resolver_conn_wrapper.go:68] dialing to target with scheme: ""
I0329 12:43:22.092389       1 resolver_conn_wrapper.go:117] ccResolverWrapper: sending new addresses to cc: [{tiller-deploy:44134 0  <nil>}]
I0329 12:43:22.092399       1 clientconn.go:741] ClientConn switching balancer to "pick_first"
I0329 12:43:22.092431       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, CONNECTING
I0329 12:43:36.465926       1 resolver_conn_wrapper.go:68] dialing to target with scheme: ""
I0329 12:43:36.465992       1 resolver_conn_wrapper.go:117] ccResolverWrapper: sending new addresses to cc: [{tiller-deploy:44134 0  <nil>}]
I0329 12:43:36.466003       1 clientconn.go:741] ClientConn switching balancer to "pick_first"
I0329 12:43:36.466074       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, CONNECTING
W0329 12:43:42.093439       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: dial udp 10.96.0.10:53: i/o timeout". Reconnecting...
I0329 12:43:42.093477       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, TRANSIENT_FAILURE
W0329 12:43:42.093509       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:43:42.093522       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, TRANSIENT_FAILURE
I0329 12:43:42.093744       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, CONNECTING
I0329 12:43:42.093756       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, CONNECTING
I0329 12:43:45.698812       1 resolver_conn_wrapper.go:68] dialing to target with scheme: ""
I0329 12:43:45.698884       1 resolver_conn_wrapper.go:117] ccResolverWrapper: sending new addresses to cc: [{tiller-deploy:44134 0  <nil>}]
I0329 12:43:45.698917       1 clientconn.go:741] ClientConn switching balancer to "pick_first"
I0329 12:43:45.698984       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, CONNECTING
W0329 12:44:02.094059       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
W0329 12:44:02.094071       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:44:02.094096       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, TRANSIENT_FAILURE
I0329 12:44:02.094104       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, TRANSIENT_FAILURE
I0329 12:44:02.094449       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, CONNECTING
W0329 12:44:02.094622       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: dial udp 10.96.0.10:53: i/o timeout". Reconnecting...
I0329 12:44:02.094668       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, TRANSIENT_FAILURE
I0329 12:44:02.094816       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, CONNECTING
I0329 12:44:02.094925       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, CONNECTING
W0329 12:44:22.094483       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:44:22.094630       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, TRANSIENT_FAILURE
W0329 12:44:22.094788       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:44:22.094853       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, TRANSIENT_FAILURE
I0329 12:44:22.094959       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, CONNECTING
W0329 12:44:22.095087       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:44:22.095297       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, TRANSIENT_FAILURE
I0329 12:44:22.095309       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, CONNECTING
I0329 12:44:22.095332       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, CONNECTING
W0329 12:44:42.095300       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:44:42.095363       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, TRANSIENT_FAILURE
W0329 12:44:42.095379       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: dial udp 10.96.0.10:53: i/o timeout". Reconnecting...
I0329 12:44:42.095397       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, TRANSIENT_FAILURE
W0329 12:44:42.095552       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: dial udp 10.96.0.10:53: i/o timeout". Reconnecting...
I0329 12:44:42.095583       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, TRANSIENT_FAILURE
I0329 12:44:42.095596       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, CONNECTING
I0329 12:44:42.095709       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, CONNECTING
I0329 12:44:42.095736       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, CONNECTING
W0329 12:45:02.095915       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
W0329 12:45:02.095948       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: dial udp 10.96.0.10:53: i/o timeout". Reconnecting...
I0329 12:45:02.095971       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, TRANSIENT_FAILURE
I0329 12:45:02.095988       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, TRANSIENT_FAILURE
W0329 12:45:02.095992       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: i/o timeout". Reconnecting...
I0329 12:45:02.096007       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, TRANSIENT_FAILURE
I0329 12:45:02.096307       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, CONNECTING
I0329 12:45:02.096355       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, CONNECTING
I0329 12:45:02.096381       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, CONNECTING
W0329 12:45:22.097208       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: dial udp 10.96.0.10:53: i/o timeout". Reconnecting...
W0329 12:45:22.097247       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: dial udp 10.96.0.10:53: i/o timeout". Reconnecting...
W0329 12:45:22.097269       1 clientconn.go:1158] grpc: addrConn.createTransport failed to connect to {tiller-deploy:44134 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp: lookup tiller-deploy on 10.96.0.10:53: dial udp 10.96.0.10:53: i/o timeout". Reconnecting...
I0329 12:45:22.097284       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, TRANSIENT_FAILURE
I0329 12:45:22.097297       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, TRANSIENT_FAILURE
I0329 12:45:22.097307       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, TRANSIENT_FAILURE
I0329 12:45:22.097509       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420269d70, CONNECTING
I0329 12:45:22.097591       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc420471130, CONNECTING
I0329 12:45:22.097612       1 pickfirst.go:71] pickfirstBalancer: HandleSubConnStateChange: 0xc4203144b0, CONNECTING

minikube version: v0.25.0
helm version:

Client: &version.Version{SemVer:"v2.8.1", GitCommit:"6af75a8fd72e2aa18a2b278cfe5c7a1c5feca7f2", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.8.1", GitCommit:"6af75a8fd72e2aa18a2b278cfe5c7a1c5feca7f2", GitTreeState:"clean"}

I have changed service to NodePort also mentioned in the docs
$kubectl patch svc swift -n kube-system -p '{"spec":{"type":"NodePort"}}'

also helm charts is not working on minikube
allowing minikube with R-BAC addons put kube-dns into crashloop
minikube start --extra-config=apiserver.Authorization.Mode=RBAC
I have tried the same setup on kubeadm cluster which works without any error.

What command did you use to start minikube? How did you deploy Tiller?

Tiller Deployment:

kubectl --namespace kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller

and this was the command to start minikube

minikube start --extra-config=apiserver.Authorization.Mode=RBAC

Can you setup RBAC following the steps here? https://github.com/appscode/swift/blob/master/docs/setup/rbac.md#before-you-begin

kube-dns needs to work in RBAC mode thins to work.

tried as well but no luck.

I tried the steps in the RBAC doc and it worked for me with Minikube 0.25.2 . I update the swift install command in that doc. What error are you getting following that doc? May be you can upload a video recording of your install process, so I can see what the steps are causing problem.

I uploaded my recording here: https://www.youtube.com/watch?v=E4lZyep4wVU

kube-dns and kubernetes-dashboard status was showing crach-loop-backoff which I have solved with minikube delete
and start the minikube and tiller install following your setup instructions.
Thanks for your quick response 👍 .

does kube-dns and kubernetes-dashboard default been installed by k8s? I use kubernets 1.10.0 seems no these two components.

dashboard comes with minikube only I guess.