Minikube

 7th March 2021 at 8:03pm

minikube service list 命令可以输出一些有用的信息,包含内部服务的外网访问地址。比如你部署完 istio 后,可以用 istio-ingress 的 URL 去访问 istio 的负载均衡服务:

> $ minikube service list
|--------------|----------------------|--------------------------------|
|  NAMESPACE   |         NAME         |              URL               |
|--------------|----------------------|--------------------------------|
| default      | details              | No node port                   |
| default      | kubernetes           | No node port                   |
| default      | productpage          | No node port                   |
| default      | ratings              | No node port                   |
| default      | reviews              | No node port                   |
| istio-system | istio-ingress        | http://192.168.99.100:30058    |
|              |                      | http://192.168.99.100:32319    |
| istio-system | istio-mixer          | No node port                   |
| istio-system | istio-pilot          | No node port                   |
| kube-system  | kube-dns             | No node port                   |
| kube-system  | kubernetes-dashboard | http://192.168.99.100:30000    |
|--------------|----------------------|--------------------------------|