Giter VIP home page Giter VIP logo

Comments (3)

Levovar avatar Levovar commented on June 2, 2024

that has nothing to do with DANM. Kubernetes works in a central server - remote agents setup, Kubelet being the node agent.
Kubelet is the one invoking the CNI interface.

If you stop Kubelet, there is no one to invoke the CNI plugin, therefore no network provisioning operations can happen on the node

from danm.

anannaya avatar anannaya commented on June 2, 2024

@Levovar Yes I can understand, But there will be a downtime until that machine comes up.
Just a suggestion Can we write some webhook in admission controller to check the Danm endpoints and check the pods running status take the decision to cleanup the ipam.

Any suggestion ?

from danm.

Levovar avatar Levovar commented on June 2, 2024

there will be a downtime, but it does not necessarily mean that the Pod having the static IP is also down.
even if the Docker daemon is not running, the container still can.
I'm not in favour or reaping these IPs, because if the Pod having it assigned is still running, and we re-assign the same IP to another Pod at the same time, that will lead to problems.

On the flip side, when Kubelet comes back online, it will synch the status of the Pods. If a Pod died while it was down, I think / expect Kubelet to invoke a CNI_DEL for the Pod.
In that case the static IP will be freed.

from danm.

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.