agentscope-ai / agentscope-ai/AgentTeams

通过worker生成了一个系统,它在worker中启动这个系统,也自测OK,如何将worker的端口映射出来通过宿主机访问 || A system is generated through the worker. It starts the system in the worker and tests OK. How to map the port of the worker to access it through the host?

未關閉
#1,106 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Go
星號
5.6k
分支
692
平均合併
5 天 4 小時
30 天內合併 PR
23

描述

通过worker生成了一个小系统,它在worker中启动这个系统,worker自测验证OK,那我如何将worker的端口映射出来通过宿主机访问呢?

我想通过higress路由转发,但不行,是不是我配置有问题

1、先得到worker的容器IP和小系统的服务端口;
2、在Higress中创建服务来源;

Image

3、在路由配置中,选择了上面的服务来源

Image
4、通过higress宿主机的IP端口访问
http://10.18.6.141:18080/hifull9090
总是跳转到了 http://10.18.6.141:18080/login登录页

能否帮我看看,谢谢

---
A small system is generated through the worker, which starts the system in the worker. The worker self-test verifies that it is OK. So how do I map the worker port to access it through the host?

I want to forward through higress routing, but it doesn’t work. Is there something wrong with my configuration?

1. First get the container IP of the worker and the service port of the small system;
2. Create a service source in Higress;

Image

3. In the routing configuration, select the above service source

Image
4. Access through the IP port of the higress host
http://10.18.6.141:18080/hifull9090
Always jumps to http://10.18.6.141:18080/login login page

Can you help me take a look, thank you

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。