Git Product home page Git Product logo

Comments (2)

cakrit avatar cakrit commented on June 3, 2024

Something is wrong with the liveness probe. I did an upgrade and two of the three slaves I have

[christopher@chris-msi ~]$ kubectl logs netdata-slave-pdclb
...
2019-04-29 18:25:27: netdata ERROR : MAIN : Failed to read machine GUID from '/var/lib/netdata/registry/netdata.public.unique.id'
2019-04-29 18:25:27: netdata FATAL : MAIN :Cannot create unique machine id file '/var/lib/netdata/registry/netdata.public.unique.id'. Please fix this. # : Invalid argument
...

After that, netdata exited. It looks like something went wrong with the preStart command that creates this file, probably a race condition. When I deleted the pod and it was recreated, it worked fine.

I'll try to replicate the issue with preStart, but the worrisome thing is that the two problematic pods were showing as running, instead of error. I'll try to get on this tomorrow, it's not good.

from helmchart.

cakrit avatar cakrit commented on June 3, 2024

I saw that we didn't have readiness/liveness probes in the daemonset (no web server running anyway), so I added them. It takes much longer for the slaves to show up as ready now, but I expect it to work better. I will close this issue with PR #19 and create a new issue to check on the apparent preStart race condition.

from helmchart.

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.