首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Istio bookinfo示例部署连接已超时

Istio bookinfo示例部署连接已超时
EN

Stack Overflow用户
提问于 2017-08-28 13:31:01
回答 1查看 451关注 0票数 0

我正在尝试在Google容器引擎上安装istio,istio已经成功安装,但是预订样例加载失败。

有什么东西我配置错了吗?帮帮我求你了!提前感谢!

以下是我尝试过的:

代码语言:javascript
复制
kubectl get pods

details-v1-3121678156-3h2wx       2/2       Running   0          58m
grafana-1395297218-h0tjv          1/1       Running   0          5h
istio-ca-4001657623-n00zx         1/1       Running   0          5h
istio-egress-2038322175-0jtf5     1/1       Running   0          5h
istio-ingress-2247081378-fvr33    1/1       Running   0          5h
istio-mixer-2450814972-jrrm4      1/1       Running   0          5h
istio-pilot-1836659236-kw7cr      2/2       Running   0          5h
productpage-v1-1440812148-gqrgl   0/2       Pending   0          57m
prometheus-3067433533-fqcfw       1/1       Running   0          5h
ratings-v1-3755476866-jbh80       2/2       Running   0          58m
reviews-v1-3728017321-0m7mk       0/2       Pending   0          58m
reviews-v2-196544427-6ftf5        0/2       Pending   0          58m
reviews-v3-959055789-079xz        0/2       Pending   0          57m
servicegraph-3127588006-03b93     1/1       Running   0          5h
zipkin-4057566570-0cb86           1/1       Running   0          5h

kubectl获得svc

代码语言:javascript
复制
NAME            CLUSTER-IP      EXTERNAL-IP       PORT(S)                        
details         10.11.249.214   <none>            9080/TCP                      
grafana         10.11.247.226   104.199.211.175   3000:31036/TCP         
istio-egress    10.11.246.60    <none>            80/TCP              
istio-ingress   10.11.242.178   35.189.165.119    80:31622/TCP,443:31241/TCP  
istio-mixer     10.11.242.104   <none>            9091/TCP,9094/TCP,42422/TCP 
istio-pilot     10.11.251.240   <none>            8080/TCP,8081/TCP           
kubernetes      10.11.240.1     <none>            443/TCP                  
productpage     10.11.255.53    <none>            9080/TCP                      
prometheus      10.11.248.237   130.211.249.66    9090:32056/TCP               
ratings         10.11.252.40    <none>            9080/TCP                      
reviews         10.11.242.168   <none>            9080/TCP                      
servicegraph    10.11.252.60    35.185.161.219    8088:32709/TCP               
zipkin          10.11.245.4     35.185.144.62     9411:31677/TCP          

获取IP并导出env变量,然后使用curl

代码语言:javascript
复制
NAME      HOSTS     ADDRESS          PORTS     AGE
gateway   *         35.189.165.119   80        1h
Abduls-MacBook-Pro:~ abdul$ export GATEWAY_URL=35.189.165.119:80
Abduls-MacBook-Pro:~ abdul$ curl -o /dev/null -s -w "%{http_code}\n"    http://${GATEWAY_URL}/productpage
000
EN

回答 1

Stack Overflow用户

发布于 2017-09-07 19:30:21

当我在GKE上部署istio示例应用程序时,我遇到了一个类似的问题(“上游连接错误或在头之前断开/重置”)。尝试删除所有的豆荚(并等待所有的再次出现)。然后重启你的代理..。

代码语言:javascript
复制
kubectl delete pods --all
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45920294

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档