GithubHelp home page GithubHelp logo

Comments (9)

awh avatar awh commented on July 21, 2024 3

Kured should ignore this error and reboot the Node anyway

I'm not sure this is the correct default - presumably one has configured a disruption budget for a reason 😄 But certainly we can have it as an option.

I'd rather avoid parsing the output of kubectl drain, so this will have to wait until after we migrate away from embedding kubectl to using the library version of drain.

from kured.

antoineozenne avatar antoineozenne commented on July 21, 2024

Same problem for a standard cluster without any service mesh. There are too cases : the pod ("managed" by the PDB) can't be scheluded on another node, so the situation is blocked in this state, or the pod is rescheduled by Kubernetes on another node, but it takes time so Kured timeouts.

from kured.

s-spindler avatar s-spindler commented on July 21, 2024

Faced a similar issue but for me the pod could have easily been rescheduled by k8s on another node. The PDB is quite simple and only states that min 1 pod is running.
@awh I think that it is the correct default. AFAIU when deleting a pod that has a PDB such as mine, k8s will simply make sure that a second pod is running before killing the old one. Maybe I'm not getting PDBs here but my understanding was, that k8s would take care of fulfilling the PDB.
In the end I simply killed the pod by hand and sure enough a second one was spun up before the first one shut down.

from kured.

s-spindler avatar s-spindler commented on July 21, 2024

One more thing: if this isn't changed I would expect kured to at least not set the node to SchedulingDisabled. ATM the node is basically drained of pods except for the ones with PDBs.

from kured.

evrardjp avatar evrardjp commented on July 21, 2024

One more thing: if this isn't changed I would expect kured to at least not set the node to SchedulingDisabled. ATM the node is basically drained of pods except for the ones with PDBs.

Shouldn't drain first step be "cordon"ing the node (which effectively makes it 'SchedulingDisabled')? I thought that was its internal behaviour.

from kured.

uncycler avatar uncycler commented on July 21, 2024

An other issue related to PDB, when this happended, CPU usage is up to 100% and it fills logs with hundred of error per seconds.

from kured.

github-actions avatar github-actions commented on July 21, 2024

This issue was automatically considered stale due to lack of activity. Please update it and/or join our slack channels to promote it, before it automatically closes (in 7 days).

from kured.

uipo78 avatar uipo78 commented on July 21, 2024

Should this issue be closed?

from kured.

kinihun avatar kinihun commented on July 21, 2024

from kured.

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.