Giter Site home page Giter Site logo

如何使用lighthouse插件 about caelus HOT 5 OPEN

tencent avatar tencent commented on May 3, 2024
如何使用lighthouse插件

from caelus.

Comments (5)

ddongchen avatar ddongchen commented on May 3, 2024

1、修改kubelet参数:--docker-endpoint=unix:///var/run/lighthouse.sock --docker=unix:///var/run/lighthouse.sock
2、plugin-server中指定--hostname-override 和 --kubeconfig

from caelus.

GaoJie-bupt avatar GaoJie-bupt commented on May 3, 2024

1、--docker=unix:///var/run/lighthouse.sock 这个配置的作用是什么 貌似没有在kubelet的配置中找到

from caelus.

kom0055 avatar kom0055 commented on May 3, 2024

看了一部分源码,我猜测步骤如下

  1. 将对docker-socket的请求 全部转发到lighthouse.sock上。
  2. lighthouse会将请求转发给plugin-server
  3. plugin-server prehook修改请求返回给lighthouse,目的可以看lighthouse的readme
  4. lighthouse 将被修改的请求转发给docker
  5. lighthouse 调用posthook

from caelus.

ddongchen avatar ddongchen commented on May 3, 2024

@kom0055 整个流程如您所说。目前正在整理更详细的使用文档,会更清晰地介绍使用方法及整个流程。
kubelet相关参数介绍:
image

from caelus.

ddongchen avatar ddongchen commented on May 3, 2024

@hudson741
文档已上传
https://github.com/Tencent/caelus/blob/master/doc/start.md
https://github.com/Tencent/caelus/blob/master/doc/config.md
入口为:
image

欢迎使用caelus!

from caelus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.