pusher / k8s-spot-rescheduler

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

add delete-non-replicated-pods flag #47

Closed kimxogus closed 6 years ago

kimxogus commented 6 years ago

46

kimxogus commented 6 years ago

I also added some code to filter out pods controlled by DeamonSet.

kimxogus commented 6 years ago

Yes. rescheduler with delete-non-replicated-pods=true flag is running in company's aws cluster(@aroundus-inc), and seems to work well :)

kimxogus commented 6 years ago

I wanted to write some detailed test code, but actually this is my almost first time golang experience and not familiar with go tests, so I just tested in actual cluster directly.