Hacker News new | ask | show | jobs
by ztjio 2453 days ago
The whole point of Kubernetes is that you don't think this way. Replacing a node is not an impactful event if you're using K8S correctly.
2 comments

I agree with this to an extent. There are certainly places where replacing can be expensive. For example, bare metal, or if the machine contains a large amount of data and moving that data to a new node is time consuming.
Your storage should be separated from the worker nodes. Unless you have some hyper-converged setup, then you make the deliberate choice that your node became special. (sorry for using the term hyper-converged)
Until you have to deal with RWO PVCs and evicting a nose requires an expensive and slow disk detatch/attach operation