Giter Club home page Giter Club logo

Comments (2)

SuperQ avatar SuperQ commented on May 28, 2024

This does not sound like a node_exporter issue, but a Kubernetes issue.

There are no "detected prerequisites" in the node_exporter. Every scrape is dynamic.

The node_exporter logs any errors returned, the only way to exit with no errors is for the webserver function to exit with no errors, usually by a SIGTERM or SIGKILL.

from node_exporter.

vinay50muddu avatar vinay50muddu commented on May 28, 2024

IMO, I don't think it's k8s issue as the other pods are running without any issue. This issue is seen only when we reboot the node and NE tries to come up. NE is moved to CrashLoopBackoff state and is rendered in that state until we edit the daemonset/pod spec. Now the moment I edit the spec (even with minimal changes like reducing the probe time only to cause the pod to restart ), NE comes up. So I suspect that after the sandbox creation when the container is coming up it just exits possibly because it is getting into some condition which is not handled. I am mounting the volumes as below:

volumeMounts:
- mountPath: /host
  mountPropagation: HostToContainer
  name: rootfs
  readOnly: true
- mountPath: /host/proc
  name: proc
  readOnly: true
- mountPath: /host/sys
  name: sys
  readOnly: true

volumes:

  • hostPath:
    path: /
    type: ""
    name: rootfs
  • hostPath:
    path: /proc
    type: ""
    name: proc
  • hostPath:
    path: /sys
    type: ""
    name: sys

Also I have a query in this context. When it crashes, do we get any trace in the log? Let me know if any information is needed which I am missing to provide.

from node_exporter.

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.