2

这就是我所做的。

  1. 我设置了一个新的 AKS 集群(启用了 RBAC)
  2. 我在上面启用了 Dev Spaces
  3. 我创建了一个 ASP.Net Core 2.2 Web 项目
  4. 我开始项目时选择了在“Azure Dev Spaces”中调试它并选择了“Public”。该项目开始正常,并显示了网页(http://default.webk8.54fqhtlhqv.weu.azds.io/
  5. 我停止了调试器

现在我的网页返回“Bad Gateway”,“devspaces-proxy”日志返回:

Accepted outer connection from 10.244.0.17:47390
Error opening inner connection for 10.244.0.17:47390 to 10.244.0.169:80: Connection refused 10.244.0.169:80
Reset outer connection from 10.244.0.17:47390
Disposed connections related to 10.244.0.17:47388

根据 kubernetes web 仪表板,我的服务有一个端点 10.244.0.169,端口为 http、80、TCP 和

即使在我停止调试之后我是否应该能够访问该页面,或者我在这里遗漏了什么?

4

0 回答 0