← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2313.e.5.p.2.c

诊断边车共享进程视图

理解等级:中级

诊断组件可通过共享PID命名空间观察应用进程,提供统一的资源使用界面,免去为每种语言写诊断插件。书中的topz示例先取得应用容器ID,再将诊断容器加入其PID命名空间;接口端口需避免冲突。共享进程视图扩大可见范围,应只授予诊断所需权限。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 3. The Sidecar Pattern · 查看原书依据

      this topz functionality can be deployed as a sidecar container that shares the process-ID (PID) namespace with the application container. This topz container can introspect all running processes and provide a consistent user interface. Moreover, you can use the orchestration system to automatically add this container to all

    参考来源

    - 位置:《Designing Distributed Systems, 2nd Edition》第03章《Chapter 3. The Sidecar Pattern》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch03.html) - 结论依据:原文以topz和--pid=container说明跨语言诊断与命名空间条件。 - 原始内容:this topz functionality can be deployed as a sidecar container that shares the process-ID (PID) namespace with the application container. This topz container can introspect all running processes and provide a consistent user interface. Moreover, you can use the orchestration system to automatically add this container to all