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

需要提供hostNetwork等运维模式的部署操作文档 #382

Closed
nlg521 opened this issue Jun 12, 2023 · 9 comments
Closed

需要提供hostNetwork等运维模式的部署操作文档 #382

nlg521 opened this issue Jun 12, 2023 · 9 comments

Comments

@nlg521
Copy link

nlg521 commented Jun 12, 2023

使用场景,在没有外部 lb 的情况下, 能否支持通过宿主机的端口来实现网关路由。

@johnlanni
Copy link
Collaborator

https://github.com/alibaba/higress/blob/main/helm/core/values.yaml#L368

这个helm参数可以控制:

helm upgrade higress -n higress-system higress.io/higress --reuse-values --set higress-core.gateway.hostNetwork=true

@johnlanni
Copy link
Collaborator

我们需要把一些常用的运维参数,例如网络模式调整,cpu内存replica等资源调整整理到这个文档,看看是否有社区同学认领这个任务:
https://higress.io/zh-cn/docs/user/configurations

@johnlanni johnlanni changed the title 通过宿主机的端口号暴露服务 需要提供hostNetwork等运维模式的部署操作文档 Jun 13, 2023
@johnlanni johnlanni added this to the 1.1.0 milestone Jun 13, 2023
@CH3CHO
Copy link
Collaborator

CH3CHO commented Jun 13, 2023

我们需要把一些常用的运维参数,例如网络模式调整,cpu内存replica等资源调整整理到这个文档,看看是否有社区同学认领这个任务: https://higress.io/zh-cn/docs/user/configurations

目前已经有一部分列在这里了:https://higress.io/zh-cn/docs/ops/deploy-by-helm#%E5%AE%89%E8%A3%85%E5%8F%82%E6%95%B0

@Fkbqf
Copy link
Contributor

Fkbqf commented Jun 14, 2023

pls assign me~

@johnlanni johnlanni removed the help wanted Extra attention is needed label Jun 21, 2023
@nlg521
Copy link
Author

nlg521 commented Dec 25, 2023

https://github.com/alibaba/higress/blob/main/helm/core/values.yaml#L368

这个helm参数可以控制:

helm upgrade higress -n higress-system higress.io/higress --reuse-values --set higress-core.gateway.hostNetwork=true

执行完成后,一致显示这类错误
2023-12-25T05:47:42.790872Z warn Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected
请问怎么处理下?

@johnlanni
Copy link
Collaborator

这个是lds被拒绝了,要看下失败的原因,你看下这个日志上方应该有详细的原因

@johnlanni
Copy link
Collaborator

有种可能是没有再host上监听80和443的权限,需要给容器设置特权权限

@nlg521
Copy link
Author

nlg521 commented Dec 25, 2023

80 ,443 被 nginx 占了,这个可以改成其它端口吗?

@johnlanni
Copy link
Collaborator

这个目前还没支持配置,我先建个issue跟踪下

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

No branches or pull requests

4 participants