With CNCF, you must stay fit and be ready to evolve
All cloud-native projects, including Kubernetes, evolve fast. That means not just adding new features but forcing you to stop using old ones. If you know what a major semantic version increase means, you understand what I’m talking about. Breaking changes is part of innovation and will become your friends if to apply to them principles of continious refactoring. Breaking changes are normal in a fast-moving ecosystem.
I’ve been using Azure since 2011, but only in the last couple of years did I discover the Cloud Native Computing Foundation, aka CNCF, and projects like Kubernetes and Dapr. We started simple: Azure Container Apps, aka ACA, gave us a quick way to develop containerized microservices.
I’m working on the transformation of the largest CI/CD pipelines service at Microsoft, which supports 100K pipelines. The service runs 100K builds and 20K releases per day, and it consumes 800K+ VMs and container agents per day, impacting 50,000 developers at Microsoft. For this solution, it was critical to run on a foundational Azure Ring 0 platform like Azure Kubernetes Service, aka AKS.
A year and a half ago, I created my first real experimental AKS cluster. My naive expectations of tapping into the unlimited power of the cloud-native ecosystem eventually turned into a struggle to stay secure and compliant, especially under Microsoft’s demanding Azure first-party (1P) standards.
When I start learning a completely new domain, I know there’s one tool guaranteed to give me at least 30% of the expertise. That tool is called “a book”. To learn Kubernetes, I decided to read a book co-authored by one of its creators, Brendan Burns. As I write this, Brendan holds the TF/CVP role for Azure Cloud Native & Management at Microsoft. Kubernetes: Up and Running: Dive into the Future of Infrastructure is a great book. What I didn’t know was that its 300+ pages were just an introduction to the huge k8s ecosystem.
If you came to this post already convinced that Kubernetes is The Tyranny of the Unnecessary, then I’m happy you’re a happy “citizen developer” with your app hosted on Azure Functions or AWS Lambda. Kubernetes is a journey. You come out a different person.
On Azure Antares-family PaaS offerings (e.g. App Service, Azure Functions, Azure Container Apps), creating a service automatically gives you a DNS name, such as myservice.azurewebsites.net.
When you use Kubernetes, you create an Ingress to expose your service, and that’s where the rabbit hole begins. Here’s the list of ingress-related changes I had to make on our test and production Kubernetes clusters.
WARNING: These are all ingress combinations I’ve used in production. The sarcasm and irony reflect how I felt every time I had to change technologies.
- First impression: Ingress. You read the Kubernetes book, excited to learn how flexible Kubernetes is.
- You feel the power of k8s and set up an Istio service mesh. Excitement turns into frustration when you see 400-700-page books about Istio. You can still spend hours looking for somebody to explain how to make it meet 1P security and compliance standards. At that point, you start looking for something simpler.
- You want something simple, like
nginxand Ingress, just as the Kubernetes book taught you. Everything will make sense again. nginxis dead, and you have to move to Gateway API. Not the old Istio Gateway, but the new, refined Gateway API. You end up installing Istio again, this time just for Gateway API. So you still need to remember that, under the hood, it’s running Istio, described in that 700-page book you of course didn’t read.- Your endpoints are under attack, and you need another Gateway API implementation: Azure Application Gateway for Containers. It implements the same Gateway API but works differently under the hood. Instead of an open-source solution like Istio, you get a slim adapter between the ergonomic k8s Gateway API and a powerful Microsoft enterprise security solution.
- You like the k8s Gateway API, but you’re looking for simplicity again. You find it in Application routing Gateway API. You finally feel safe: the technology is modern, stable, and simple enough. But networking experts tell you it’s just a slightly modernized version of the deprecated
nginx, and another new option is on the way.
Now you can imagine this incredebla pace of Kubernetes ingress evolution but I also want you to understand the logic how it is going and why it must not stop you from using Kubernetes. All these kinds of ingresses and their changes are matching 3 categories :
- basic
ingressthat appeared few years ago deskribed in Kubernetes book. - Original Istio Mesh Gateway that was original to build ultimate services communication engine.
- Gateway API as a standard Level 7 interface and spacter of its implementation.
Yes, Kubernetes evolves fast. But remember how web frameworks evolved from the early 2000s onward. Around 2015, it felt like a new single-page application framework appeared every few months. The web development industry eventually converged on React as a common choice. Gateway API is bringing similar convergence to Kubernetes networking: a shared interface across different implementations.
Conclusion: with CNCF, you must stay fit and be ready to evolve. If you still need a powerful platform but don’t need the evolution, go use Service Fabric.