k8s-node-termination-handler
k8s-node-termination-handler copied to clipboard
[Propose] Call removing a node from a cluster for a preemptible VM.
Now after removing the VM, the cluster waits another 5 minutes for the node to return. Since this wait is meaningless, we can immediately notify the cluster about this by running node deletion. In the same way as a reboot is called for nodes with accelerators.
GKE autoscaling may recreate instance with the same hostname (and most of parameters), so that actually may not be a best solution. My point is, that in best case scenario from master point of view the node was rebooted, while in worst case the node is lost forever.