大使没有健康的上游 [英] Ambassador shows no healthy upstream

查看:52
本文介绍了大使没有健康的上游的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在CentOS中用1个主节点和一个单独的节点设置了Kubernetes.增加了GW大使,后来又增加了带有地图的服务.当我尝试使用GW映射访问最终服务时,它以没有健康的上游消息作为响应.

I have setup Kubernetes in CentOS with 1 master and a separate node. Added Ambassador GW and later a service with mapping. When I try to access the end service using the GW mapping it responds with no healthy upstream message.

推荐答案

在我的情况下,映射是正确的,但是该服务实际上位于与大使不同的名称空间中.我在服务名称中缺少 .namespace :

In my case the mapping was right but the service was actually in different namespace than Ambassador. I was missing the .namespace in the service name:

因此,从更改服务 service:< service.name>
service:< service.name>.< namespace>

这篇关于大使没有健康的上游的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆