Giter Club home page Giter Club logo

Comments (5)

sangshenya avatar sangshenya commented on May 6, 2024

使用的是最新的代码

from caelus.

sangshenya avatar sangshenya commented on May 6, 2024

kubelet --docker-endpoint=unix:///var/run/lighthouse.sock --docker=unix:///var/run/lighthouse.sock

Flag --docker-endpoint has been deprecated, will be removed along with dockershim.
Flag --docker has been deprecated, This is a cadvisor flag that was mistakenly registered with the Kubelet. Due to legacy concerns, it will follow the standard CLI deprecation timeline before being removed.
I0829 18:08:37.115017 57180 server.go:440] "Kubelet version" kubeletVersion="v1.21.5-hc.1"
I0829 18:08:37.115454 57180 server.go:573] "Standalone mode, no API client"
I0829 18:08:37.115546 57180 container_manager_linux.go:991] "CPUAccounting not enabled for process" pid=57180
I0829 18:08:37.115569 57180 container_manager_linux.go:994] "MemoryAccounting not enabled for process" pid=57180

from caelus.

sangshenya avatar sangshenya commented on May 6, 2024

#52 (comment)

from caelus.

ddongchen avatar ddongchen commented on May 6, 2024

e "/etc/lighthouse/config.yaml", no k

lighthouse的配置文件能否发下?

from caelus.

cityofwang avatar cityofwang commented on May 6, 2024

cat > /etc/lighthouse/config.yaml <<EOF
apiVersion: lighthouse.io/v1alpha1
kind: hookConfiguration
timeout: 10
listenAddress: unix:///var/run/lighthouse.sock
webhooks:

  • name: docker
    endpoint: unix://@plugin-server
    failurePolicy: Fail
    stages:
    • urlPattern: /containers/create
      method: post
      type: PreHook
    • urlPattern: /containers/{name:.*}/update
      method: post
      type: PreHook
      EOF

上面是lighthous提供的配置文本
https://github.com/Tencent/caelus/blob/master/doc/start.md#%E5%AE%89%E8%A3%85plugin-server

上面有两个地方有问题
apiVersion: lighthouse.io/v1alpha1
kind: hookConfiguration
应改为
apiVersion: componentconfig.lighthouse.io/v1alpha1
kind: HookConfiguration
才能通过

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.