Comments (8)
From @p0lyn0mial on February 28, 2018 16:58
/cc @rsdcastro
from cluster-api.
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:
Machine
needs to be preferably removed - marked with annotation or some other means by human / cluster autoscaler (down-sizing scenario) / other controller- Health of the
Machine
- unhealthy machines first - If all else fails: select one at random
from cluster-api.
@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.
@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.
@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.
@ingvagabund sounds great!
from cluster-api.
Do you think it's worth opening a new issue and starting the conversation on that topic there?
from cluster-api.
Closing in favor of #75
from cluster-api.
Related Issues (20)
- Improve `Generate weekly PR updates to post in Slack` docs/process HOT 4
- error with helm parsing double curly braces within 3 strings in `cluster-api-components.yaml` HOT 4
- Provide metadata to ClusterClass variables HOT 13
- Bump release-1.6 & release-1.5 to Go 1.21 HOT 2
- Tasks to bump to Kubernetes v1.30 HOT 2
- Rolling update on machine delition HOT 5
- Follow-up Tasks for MachinePool support in ClusterClass HOT 5
- CRD upgrade race condition HOT 7
- github.com/docker/docker from 24.0.7 to 25.0.0 HOT 3
- Improve Cluster Validation webhooks for .spec.topology.version HOT 2
- Kubeadm feature flags should be mutable HOT 12
- SSA failure after removal of old API versions HOT 17
- Add more descriptive Message to DrainingFailedReason and DrainingReason HOT 4
- MachinPool observedGeneration is updated without changing conditions on upgrades HOT 1
- Restructure ProwJobs HOT 2
- Bump github.com/docker/docker from 24.0.7+incompatible to 25.0.1+incompatible in /test HOT 8
- How to test `nodeStartupTimeout` of `MachineHealthCheck` ? HOT 2
- Bump RSA key size to 3072-bits to meet German federal BSI Technical Guideline TR-02102-2 HOT 3
- Add a way to refresh one machine only (with scale out) HOT 5
- Add support for consuming nightly release manifests in clusterctl HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster-api.