简体   繁体   English

minikube上的Istio - 特使缺少入站应用程序端口的监听器:9095

[英]Istio on minikube - envoy missing listener for inbound application port: 9095

I follow this istio tutorial (part 3). 我遵循这个 istio教程(第3部分)。 After I created minikube local registry, I need to run the following command: 在我创建minikube本地注册表后,我需要运行以下命令:

kubectl run hellodemo --image=hellodemo:v1 --port=9095 --image-pull-policy=IfNotPresent

Which should run image and istio-proxy on the Pod. 哪个应该在Pod上运行image和istio-proxy。 When I run kubectl get pods , I get: 当我运行kubectl get pods ,我得到:

NAME                         READY   STATUS    RESTARTS   AGE
hellodemo-6d49fc6c51-adsa1   1/2     Running   0          1h

When I run kubectl logs hellodemo-6d49fc6c51-adsa1 istio-proxy : 当我运行kubectl logs hellodemo-6d49fc6c51-adsa1 istio-proxy

* failed checking application ports. listeners="0.0.0.0:15090","10.110.201.202:16686","10.96.0.1:443","10.104.103.28:15443","10.104.103.28:15031","10.101.128.212:14268","10.104.103.28:15030","10.111.177.172:443","10.104.103.28:443","10.109.4.23:80","10.111.177.172:15443","10.104.103.28:15020","10.104.103.28:15032","10.105.175.151:15011","10.101.128.212:14267","10.96.0.10:53","10.104.103.28:31400","10.104.103.28:15029","10.98.84.0:443","10.99.194.141:443","10.99.175.237:42422","0.0.0.0:9411","0.0.0.0:3000","0.0.0.0:15010","0.0.0.0:15004","0.0.0.0:8060","0.0.0.0:9901","0.0.0.0:20001","0.0.0.0:8080","0.0.0.0:9091","0.0.0.0:80","0.0.0.0:15014","0.0.0.0:9090","172.17.0.6:15020","0.0.0.0:15001"
* envoy missing listener for inbound application port: 9095
2019-05-02T16:24:28.709972Z info    Envoy proxy is NOT ready: 2 errors occurred:

* failed checking application ports. listeners="0.0.0.0:15090","10.110.201.202:16686","10.96.0.1:443","10.104.103.28:15443","10.104.103.28:15031","10.101.128.212:14268","10.104.103.28:15030","10.111.177.172:443","10.104.103.28:443","10.109.4.23:80","10.111.177.172:15443","10.104.103.28:15020","10.104.103.28:15032","10.105.175.151:15011","10.101.128.212:14267","10.96.0.10:53","10.104.103.28:31400","10.104.103.28:15029","10.98.84.0:443","10.99.194.141:443","10.99.175.237:42422","0.0.0.0:9411","0.0.0.0:3000","0.0.0.0:15010","0.0.0.0:15004","0.0.0.0:8060","0.0.0.0:9901","0.0.0.0:20001","0.0.0.0:8080","0.0.0.0:9091","0.0.0.0:80","0.0.0.0:15014","0.0.0.0:9090","172.17.0.6:15020","0.0.0.0:15001"
* envoy missing listener for inbound application port: 9095
2019-05-02T16:24:30.729987Z info    Envoy proxy is NOT ready: 2 errors occurred:

* failed checking application ports. listeners="0.0.0.0:15090","10.110.201.202:16686","10.96.0.1:443","10.104.103.28:15443","10.104.103.28:15031","10.101.128.212:14268","10.104.103.28:15030","10.111.177.172:443","10.104.103.28:443","10.109.4.23:80","10.111.177.172:15443","10.104.103.28:15020","10.104.103.28:15032","10.105.175.151:15011","10.101.128.212:14267","10.96.0.10:53","10.104.103.28:31400","10.104.103.28:15029","10.98.84.0:443","10.99.194.141:443","10.99.175.237:42422","0.0.0.0:9411","0.0.0.0:3000","0.0.0.0:15010","0.0.0.0:15004","0.0.0.0:8060","0.0.0.0:9901","0.0.0.0:20001","0.0.0.0:8080","0.0.0.0:9091","0.0.0.0:80","0.0.0.0:15014","0.0.0.0:9090","172.17.0.6:15020","0.0.0.0:15001"
* envoy missing listener for inbound application port: 9095

Do you know what is the problem that prevent the istio-proxy container to come up? 你知道什么是阻止istio-proxy容器出现的问题?

I use istio-1.1.4 on minikube. 我在minikube上使用istio-1.1.4。

I was also having the same problem. 我也遇到了同样的问题。 I followed the documentation, and it said to enable SDS in the gateway. 我按照文档说,它说在网关中启用SDS。 However, I enabled it in the gateway and also at the global scope as well, and this caused the error above. 但是,我在网关和全局范围内启用了它,这导致了上面的错误。

I removed the following code from my values.yml file and everything worked: 我从values.yml文件中删除了以下代码,一切正常:

global:
  sds:
    enabled: true

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM