Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 CentOS 中设置了 Kubernetes,有 1 个主节点和一个单独的节点。添加了大使 GW 和后来的地图服务。当我尝试使用 GW 映射访问最终服务时,它会响应no healthy upstream消息。
no healthy upstream
在我的情况下,映射是正确的,但服务实际上与大使位于不同的命名空间中。.namespace我在服务名称中遗漏了:
.namespace
所以将服务 service: <service.name> 从service: <service.name>.<namespace>
service: <service.name>
service: <service.name>.<namespace>