pusher / k8s-spot-rescheduler

Tries to move K8s Pods from on-demand to spot instances
Apache License 2.0
311 stars 42 forks source link

Wait `--pod-eviction-timeout` for pods to be evicted #50

Closed mthssdrbrg closed 6 years ago

mthssdrbrg commented 6 years ago

I found it surprising that when I set --max-graceful-termination to 10s and --pod-eviction-timeout to 2m the drain would fail after 10 seconds. I would've expected it to fail after 2 minutes (unless all pods had successfully been evicted).

Also took the liberty to rename Grateful to Graceful :).