Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s部署项目时一直卡在这里 kubectl port-forward -n dubbo-demo deployment/shop-frontend 8080:8080 #849

Open
JankinWong opened this issue May 24, 2023 · 5 comments

Comments

@JankinWong
Copy link

image
@chickenlj
Copy link
Contributor

chickenlj commented May 24, 2023 via email

@JankinWong
Copy link
Author

@chickenlj 是的我刚看到 我还有个问题,这个命令不是在master节点上执行吗?然后从外部访问master的公网ip加上这个端口 ?
但是一直失败

@AlbumenJ
Copy link
Member

@chickenlj 是的我刚看到 我还有个问题,这个命令不是在master节点上执行吗?然后从外部访问master的公网ip加上这个端口 ? 但是一直失败

访问本地,这个是 forward 到本地的

@JankinWong
Copy link
Author

JankinWong commented Mar 22, 2024 via email

@JamesBaiyong
Copy link

没有,最后放弃了

---原始邮件--- 发件人: @.> 发送时间: 2024年3月22日(周五) 晚上6:56 收件人: @.>; 抄送: @.@.>; 主题: Re: [apache/dubbo-samples] k8s部署项目时一直卡在这里 kubectl port-forward -n dubbo-demo deployment/shop-frontend 8080:8080 (Issue #849) 解决了吗?我也遇到类似的问题, kubectl port-forward 的时候,一直卡在那里不动 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

其实端口已经转发了,你如果想通过这个节点访问,需要加上参数-- address 0.0.0.0,然后就可以访问了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants