When to use Kubernetes vs Serverless
-
I had a discussion with a coworker yesterday about when to use kubernetes and when to use serverless. I found this article to be a good overview of pros and cons of each.
-
So you can also run serverless on K8s. It helps alleviate some of the vendor lock in issues, but doesn't necessarily alleviate cold starts. OpenFaaS and Kubeless are two popular serverless frameworks for K8s. They both allow custom runtimes/templates so you aren't beholdant to a specific vendors security when deploying your apps.