Giter Club home page Giter Club logo

Comments (1)

zaneb avatar zaneb commented on August 22, 2024

The code to delete the Machine was added in #51, so we will have to think carefully about how the use case addressed by that (which doesn't appear to be well documented) will still be addressed.

In the case where we're forcing the MachineSet to use all of the available Host inventory, going to the Failed phase should work fine: if a Host is deleted then the MachineSet will be scaled down and it is the unhealthy Machine that will be removed.

In the case where we're using the cluster autoscaler, things should work themselves out.

In the case where a MachineHealthCheck is operating, any Failed machines will be deleted (once the PR above is merged).

Only in the case where:

  • There is excess Host inventory
  • No autoscaling is enabled
  • No MachineHealthCheck is enabled

would there be a change in behaviour. (Currently a new Machine would be created automatically, using one of the spare Hosts; if we don't delete the existing Machine then it will continue to exist in a Failed state until somebody deletes it manually, and no replacement would be created unless somebody manually deletes it or scales up the MachineSet. This would be consistent with how it works on other machine api providers.)

from cluster-api-provider-baremetal.

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.