mattjmcnaughton / personal-k8s

All the code for bootstrapping, managing, and deploying applications on my personal k8s cluster.
Apache License 2.0
4 stars 2 forks source link

Create single reserved instance node for critical pods #13

Closed mattjmcnaughton closed 5 years ago

mattjmcnaughton commented 5 years ago

Issue To save money, all of my k8s nodes are spot instances. However, even if I set my maxPrice equal to the on-demand price, there are still windows in which I don't get spot instances. I have critical pods (i.e. online services like my blog) running on these spot instances. In addition, my monitoring/alerting nodes (i.e. prometheus and alertmanager) als run on these spot instances. So I don't even receive alerts when the spot instances are not available.

Impl

Definition of Done

RmMsr commented 5 years ago

Would you mind, posting a link to the blog post? Your issue ranks interestingly high on searches for dedicating k8s nodes to critical workloads. Thanks

mattjmcnaughton commented 5 years ago

Sure! https://mattjmcnaughton.com/post/saving-money-while-maintaining-performance-with-tolerations-on-k8s/

Please let me know if you have any questions.