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

lighthouse组件是必须的吗 #53

Open
for800000 opened this issue May 17, 2022 · 6 comments
Open

lighthouse组件是必须的吗 #53

for800000 opened this issue May 17, 2022 · 6 comments

Comments

@for800000
Copy link

请教下离线作业在yarn上,not on k8s,是不是可以不用部署lighthouse和plugin server

@for800000
Copy link
Author

@ddongchen

@ddongchen
Copy link
Collaborator

ddongchen commented May 19, 2022

请教下离线作业在yarn上,not on k8s,是不是可以不用部署lighthouse和plugin server

lighthouse和plugin server是通过拦截方式加强离线容器启动的隔离性,离线作业在yarn上运行,yarn的nm是通过k8s pod部署,也需要这两个组件。

@for800000
Copy link
Author

请教下离线作业在yarn上,not on k8s,是不是可以不用部署lighthouse和plugin server

lighthouse和plugin server是通过拦截方式加强离线容器启动的隔离性,离线作业在yarn上运行,yarn的nm是通过k8s pod部署,也需要这两个组件。

多谢,还想请教下自定义的服务指标,比如qps,rule check需要怎么配置呢?

@ddongchen
Copy link
Collaborator

ddongchen commented May 20, 2022

请教下离线作业在yarn上,not on k8s,是不是可以不用部署lighthouse和plugin server

lighthouse和plugin server是通过拦截方式加强离线容器启动的隔离性,离线作业在yarn上运行,yarn的nm是通过k8s pod部署,也需要这两个组件。

多谢,还想请教下自定义的服务指标,比如qps,rule check需要怎么配置呢?

自定义的服务指标可参考https://github.com/Tencent/caelus/blob/master/doc/config.md#8online
目前是配置在app模块里。这块正在考虑单独拿出来,扩展性更强。

@for800000
Copy link
Author

好的,“在线作业非运行在K8s平台相关配置”这句话看起来是配置的是online_type:local类型的在线作业,online_type:k8s同样也可以配置指标是吧?

@ddongchen
Copy link
Collaborator

好的,“在线作业非运行在K8s平台相关配置”这句话看起来是配置的是online_type:local类型的在线作业,online_type:k8s同样也可以配置指标是吧?

是的。若在线作业为非k8s,即直接裸机部署进程,则online_type:local。若在线通过k8s提交,则online_type:k8

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

2 participants