Knative brings developer happiness

Опубликовано: 31 Октябрь 2023
на канале: Stephen Blum
137
4

Kubernetes is a handy system that takes care of deploying and managing your containerized apps for you. Great, right? Well, not so fast. There's a hitch here. Once you've deployed your app into Kubernetes, you have to instruct it on how to handle your application. There a lot of options! You have to ask questions like: Do you have a HPA? VPA? Are you using a service mesh for traffic control? Are you hooking up to a queue for data? There are just tons of ways to set up apps, and Kubernetes plays well with all of them which is just awesome. But let's face it, most apps these days follow a standard pattern. They are web-based with an API, and their primary function is to handle web traffic. That's where Knative steps in. It combines all these common patterns that pop up when you're gearing your Kubernetes infrastructure. And the upside to formatting your app into Knative is huge, because of the streamlined capabilities it offers. You spend less time on maintenance and managing deployment patterns because Knative already has a handle on the most common ones. Here at PubNub, for example, we run systems that you need to interact with, insert new code into, and add new instructions to in various repositories. They are all separate systems meant for deploying your application into a Kubernetes cluster, and that's kind of a free-for-all. I mean, it's an added burden in terms of work and maintenance. It's a pain to actually get your app deployed with all that extra effort. That's why Knative is so cool. It comes with these preconceived notions for common patterns, which is really helpful because now all your teams can use this unified structure that makes everything just go smoother. They have lesser work to do. And it's super easy. It's like a dream come true for developers.