служба отображения мини-кубов с драйвером docker

#minikube #host

Вопрос:

Я перехожу по этой ссылке, чтобы представить службу hello-node в качестве балансировщика нагрузки. https://kubernetes.io/docs/tutorials/hello-minikube/

Но получил отказ в подключении. Есть какие-нибудь мысли?

 [gw-sb@ip-10-0-0-28 ~]$ kubectl create deployment hello-node --image=k8s.gcr.io/echoserver:1.4
deployment.apps/hello-node created
[gw-sb@ip-10-0-0-28 ~]$ kubectl expose deployment hello-node --type=LoadBalancer --port=9999
service/hello-node exposed
[gw-sb@ip-10-0-0-28 ~]$ 
[gw-sb@ip-10-0-0-28 ~]$ kubectl get services
NAME         TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)          AGE
hello-node   LoadBalancer   10.101.111.3   <pending>     9999:30794/TCP   8s
kubernetes   ClusterIP      10.96.0.1      <none>        443/TCP          22h

  [gw-sb@ip-10-0-0-28 ~]$ kubectl get pod
NAME                          READY   STATUS    RESTARTS   AGE
hello-node-7567d9fdc9-tqnzr   1/1     Running   0          10m
[gw-sb@ip-10-0-0-28 ~]$ 
[gw-sb@ip-10-0-0-28 ~]$ 
[gw-sb@ip-10-0-0-28 ~]$ kubectl get svc
NAME         TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)          AGE
hello-node   LoadBalancer   10.101.111.3   <pending>     9999:30794/TCP   5m51s
kubernetes   ClusterIP      10.96.0.1      <none>        443/TCP          22h
[gw-sb@ip-10-0-0-28 ~]$ 
[gw-sb@ip-10-0-0-28 ~]$ minikube service --url hello-node
http://192.168.49.2:30794
[gw-sb@ip-10-0-0-28 ~]$ 
[gw-sb@ip-10-0-0-28 ~]$ curl http://192.168.49.2:30794
curl: (7) Failed to connect to 192.168.49.2 port 30794: Connection refused
[gw-sb@ip-10-0-0-28 ~]$ minikube ip
192.168.49.2

[gw-sb@ip-10-0-0-28 ~]$ curl http:/127.0.0.1:9999
curl: (7) Failed to connect to 127.0.0.1 port 9999: Connection refused
[gw-sb@ip-10-0-0-28 ~]$ minikube ssh
docker@minikube:~$ curl http://127.0.0.1:30794
curl: (7) Failed to connect to 127.0.0.1 port 30794: Connection refused
docker@minikube:~$ 
docker@minikube:~$ exit
logout
ssh: Process exited with status 7
[gw-sb@ip-10-0-0-28 ~]$