Giter Site home page Giter Site logo

Comments (8)

rsdcastro avatar rsdcastro commented on June 8, 2024

From @p0lyn0mial on February 28, 2018 16:58

/cc @rsdcastro

from cluster-api.

rsdcastro avatar rsdcastro commented on June 8, 2024

From @mvladev on March 7, 2018 10:5

If I would manually remove one Machine from a set of machines I would use the order bellow to determine which to remove:

  1. Machine needs to be preferably removed - marked with annotation or some other means by human / cluster autoscaler (down-sizing scenario) / other controller
  2. Health of the Machine - unhealthy machines first
  3. If all else fails: select one at random

from cluster-api.

ingvagabund avatar ingvagabund commented on June 8, 2024

@rsdcastro does it make sense to define the delete policies on the level of cloud provider itself? In my case, I am not able to delete an AWS machine directly. Instead, we stop an instance and append a specific suffix. Later on, a bot that periodically checks all AWS instances removes all instances that have the suffix. This way, I can't accidentally delete machines and this approach also helps to make permission more regular so only a small group of people can actually delete instances.

So I can imagine there can be more implementation of "how to delete an instance".

from cluster-api.

mvladev avatar mvladev commented on June 8, 2024

@ingvagabund the physical (API call to the cloud provider) deletion of machines is not part of this issue and it's an implementation detail in your machine controller. It's about which Machine resource in K8S to delete during scale down.

Ideally the scale subresource should support this functionality, but at the moment it only has a number of desired replicas.

from cluster-api.

ingvagabund avatar ingvagabund commented on June 8, 2024

@mvladev I put the physical deletion of machines here since this was the closest issue reported to that. You are right it's an implementation detail. Do you think it's worth opening a new issue and starting the conversation on that topic there?

from cluster-api.

mvladev avatar mvladev commented on June 8, 2024

@ingvagabund sounds great!

from cluster-api.

ingvagabund avatar ingvagabund commented on June 8, 2024

Do you think it's worth opening a new issue and starting the conversation on that topic there?

#446

from cluster-api.

timothysc avatar timothysc commented on June 8, 2024

Closing in favor of #75

from cluster-api.

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.