estafette / estafette-gke-preemptible-killer

Kubernetes controller to spread preemption for preemtible VMs in GKE to avoid mass deletion after 24 hours
https://helm.estafette.io
MIT License
448 stars 72 forks source link

New label GKE spot instance #101

Open s3b4hjr opened 2 years ago

s3b4hjr commented 2 years ago

GKE is using new label for spot/preemptible instances

"cloud.google.com/gke-spot": "true"

image

Ahmed-Amine-Soltani commented 2 years ago

we can not use the gke preemptible killer for spot vm?

mohitkumar-deliveryhero commented 1 year ago

Does anyone know the answer to this question ? Will we be able to use gke preemptible killer with spot instances ?

kishorviswanathan commented 1 year ago

I have created a PR to add support, would be helpful if someone is willing to test.

https://github.com/estafette/estafette-gke-preemptible-killer/pull/106