Cloud Native

How to Run Cloud Agnostic Kubernetes Beyond Hyperscalers | Evan Johnson, Akamai | TFiR

0

Kubernetes runs on nearly every cloud, but much of its tooling was built around the biggest providers. Karpenter, the node autoscaler, was first written for AWS, so teams on any other platform must build their own tooling or contribute upstream. That choice shapes cost, portability and how much risk a team can take with young open source projects.

In this interview on TFiR, Evan Johnson, Senior Engineering Manager at Akamai, walks through how to bring Karpenter and other open source Kubernetes tooling to clouds beyond the hyperscalers, why upstream contributions matter, and how AI changes the maintainer workload.

Guest: Evan Johnson, Senior Engineering Manager at Akamai
Show: KubeCon+CloudNativeCon
LinkedIn: Evan Johnson
Watch the discussion on YouTube

Here is what every platform engineer needs to know.

Technical Deep Dive

Q: How do you get cloud agnostic Kubernetes when open source tooling is built around hyperscalers?

Evan Johnson, Senior Engineering Manager at Akamai, says the hyperscalers have very tight integrations with open source components, while smaller clouds must work to adopt those same components. The goal is that someone can move between all clouds and keep the cloud agnostic vision Kubernetes brings, with support inside the open source components that power Kubernetes. Johnson’s team works on this through Akamai’s managed Kubernetes product and by building out parts of the open source ecosystem Akamai has not historically had exposure to.

“…all of the hyperscalers have really tight integrations with all the open source components. But as you get to some of the smaller clouds, how do we adopt them so someone can move between all the clouds and have that real cloud-agnostic vision that Kubernetes brings?” Evan Johnson, Senior Engineering Manager, Akamai

Q: Why should a smaller cloud contribute to upstream open source instead of writing its own code?

Johnson says the Kubernetes cloud agnostic vision cannot stop at the hyperscalers: it has to cover all clouds, no matter their size. Hyperscalers may set an example, but smaller clouds can learn from it and use it. That way nobody is forced onto a hyperscaler to use an open source component.

“For the Kubernetes vision of being cloud agnostic, if it is cloud agnostic just within the hyperscalers, that is not the goal. It is cloud agnostic among all the clouds, no matter their size.” Evan Johnson, Senior Engineering Manager, Akamai

Q: Does contributing upstream help a smaller cloud, or just give its work away?

Johnson says it helps. A smaller cloud has different constraints from the cloud a project was built for, and those constraints lead to contributions other clouds might not have thought about. That improves innovation inside the upstream project, instead of each cloud keeping its own copy.

“It also really helps with innovation within the upstream project if you are contributing back and not just copying it for your own version.” Evan Johnson, Senior Engineering Manager, Akamai

Q: Can Karpenter run outside AWS, and what does it take to build a provider for another cloud?

Karpenter was built for AWS, but it was designed to be very extensible. Johnson explains that a cloud does not need every feature AWS has in EKS. It can implement the subset of features it supports and build a good provider around that subset.

“So even if you don’t have all the features that AWS has in EKS, you can still implement the subset of features that you want.” Evan Johnson, Senior Engineering Manager, Akamai

Q: How does Akamai make other autoscalers and open source components work on its cloud?

Johnson says Akamai has its own managed Kubernetes provider. When other clouds introduce initiatives such as Karpenter, an autoscaler alternative, the goal is a similar experience on Akamai, whether a team wants Karpenter, a newer autoscaler or other components. He describes the challenge as keeping up with the enormous cloud native ecosystem so customers can adopt whatever technology they want.

“…no matter which cloud started it, the goal is to make sure that it works within any cloud.” Evan Johnson, Senior Engineering Manager, Akamai

Q: What open source projects has Akamai’s team built for Kubernetes users?

Johnson’s team has worked most recently on Karpenter, and for the past few years on a Cluster API Provider. Cluster API gives consistent Kubernetes management wherever the clusters run. The team also integrates foundational cloud components such as volumes and load balancers into managed Kubernetes, or into bring-your-own Kubernetes on Akamai Cloud.

“So, as you are managing your Kubernetes clusters, you get consistent Kubernetes management no matter where you are.” Evan Johnson, Senior Engineering Manager, Akamai

Q: Is it safe to adopt young open source projects, and why try them early?

Johnson points out that projects do not reach graduation without adoption, so someone has to be an early adopter. A young project may not be ready for a production workload at first. Trying it and giving feedback to maintainers, or contributing PRs, matters at every stage, from early on to just before graduation.

“Projects don’t get to graduation without adoption, and someone needs to be an early adopter.” Evan Johnson, Senior Engineering Manager, Akamai

Q: How do AI-generated vulnerability reports affect open source maintainers?

Johnson says that over the past year maintainers first received tens or hundreds of PRs reporting new vulnerabilities and had to vet each one, with many hallucinations early on. It has evened out as models have advanced enough that most reports have some truth to them. The ecosystem is still growing into how to address it. Some projects use trusted contributors, and AI doing initial passes on PRs and vulnerability reports has helped him on the maintainer side.

“…it is AI talking to AI in many cases, but being able to leverage AI on the maintainer side to do initial passes on PRs and vulnerability reports has been really helpful for me.” Evan Johnson, Senior Engineering Manager, Akamai

Q: How should you use AI coding agents on an open source project safely?

Johnson uses a decent amount of AI, especially for research and initial work. In mature components that already have testing, linting, unit tests and end-to-end tests, he can have AI write a feature within those parameters and trust the harness. For earlier work, AI can produce a proof of concept, a starting point that used to take a few months, which he can then iterate on with agents.

“Where I have found AI to be really helpful is when you have really good guardrails around it.” Evan Johnson, Senior Engineering Manager, Akamai

Q: How has the Kubernetes ecosystem changed, and what autoscaling options exist beyond Cluster Autoscaler?

Johnson has been involved with Kubernetes since about 2018. The biggest change he sees is the number of projects and integration points, covering not just Kubernetes itself but the supporting components built on top of it. In autoscaling, teams no longer have to use only Cluster Autoscaler: there are other ways to autoscale and ways to inform an autoscaler.

“You don’t just have to use Cluster Autoscaler. There are other ways to do autoscaling, and there are ways to inform your autoscaler.” Evan Johnson, Senior Engineering Manager, Akamai

Q: How should the open source community look at Akamai as a cloud for Kubernetes workloads?

Johnson describes Akamai as a cloud with Kubernetes that aims to give an equal Kubernetes experience, now with inferencing as well. Akamai is expanding its cloud more every year and accelerating the build-out. If a team wants a region or an experience different from a hyperscaler, Akamai still offers many of the features needed, especially in the Kubernetes ecosystem.

“We are looking to be a place where open source CNCF projects can run.” Evan Johnson, Senior Engineering Manager, Akamai

Resources & Documentation

***

👇 Click to Read Full Raw Transcript

Swapnil Bhartiya: We are here at KubeCon, and as we all know that Kubernetes runs on nearly every cloud now, but much of its tooling was built around the biggest providers. Karpenter, the node autoscaler, was first written for AWS. So for everyone else, there is a real choice. Either build your own tooling or contribute upstream so the project works on your platform as well. And that is how open source works. That choice also shapes cost, portability, and how much risk a team can take, especially with young open source products. Today we have with us Evan Johnson, Senior Engineering Manager at Akamai, where he works on open source in the Kubernetes ecosystem. Evan, it’s great to have you on the show.

Evan Johnson: Thanks for having me.

Swapnil Bhartiya: It’s my pleasure. I would love to know a bit about yourself. Talk a bit about your own journey with open source, with Kubernetes, and Akamai.

Evan Johnson: Well, I’ve been in the Kubernetes ecosystem for a number of years, and The past few years I’ve been focusing a lot on open source components and how they fit into Akamai’s cloud ecosystem and where there is, all of the hyperscalers have really tight integrations with all the open source components. But as you get to some of the smaller clouds, how do we also adopt it so someone can move between all the clouds and have that real cloud agnostic vision that Kubernetes brings and getting support within the different open source components that help to power Kubernetes? So we’ve been spending a lot of time in that and working with our managed Kubernetes product and helping to sort of get adoption with the Kubernetes product and build out parts of the open-source ecosystem that we haven’t historically had a lot of exposure into.

Swapnil Bhartiya: I mean, in recent years, Akamai has kind of emerged as one of those players in the Kubernetes open-source ecosystem as well. Can you talk about Akamai’s work in the open source space and the Kubernetes space?

Evan Johnson: From the Kubernetes space, we have our own managed Kubernetes provider, which has been really great. And as there’s been initiatives that other clouds have come up, like with Karpenter, where there’s autoscaler alternatives, it’s been a goal of ours to have a similar experience with those other clouds where if you wanna use Karpenter in a new autoscaler, a newer autoscaler or other components, you can use it on Akamai if you’d like, you can use it sort of wherever you would like. You know, being able to have customers adopt whatever technology they want to use. And with the enormous cloud or open source ecosystem and cloud native, you know, being able to catch up or not catch up, but keep up to date with all the different components that are coming out. And no matter what cloud started it, making sure that it works sort of within any cloud.

Swapnil Bhartiya: Can you also talk about what kind of projects your teams have built and what problem do they solve for Kubernetes users?

Evan Johnson: Some of the stuff that my team has worked on is Karpenter most recently, also our Cluster API Provider. We were, That’s the past few years we’ve been working on that a lot. So as you are managing your Kubernetes clusters, it’s sort of a consistent Kubernetes management no matter where you are. And then we also have, for a lot of our foundational cloud components like volumes and load balancers and stuff like that, being able to just integrate them into our managed Kubernetes or bring your own Kubernetes on top of Akamai Cloud.

Swapnil Bhartiya: If you just look at Karpenter, it was built for AWS, but can you also talk about what does it take to make it work for other cloud, or we can look at the LKE as Linode Kubernetes as well?

Evan Johnson: Karpenter, as you mentioned, was built for AWS. And one of the nice things is the way that they built Karpenter, it was to be very, very extensible. So even if you don’t have all of the features that AWS has in EKS, you still can implement the subset of features that you want. you have and that you can support. So it’s nice that, you know, even if you don’t have a million different features in your Kubernetes cluster, you still can have a smaller subset and build a provider around that subset and build a really good provider still around that subset.

Swapnil Bhartiya: When did you get involved with Kubernetes?

Evan Johnson: Got involved with Kubernetes, I think 2018, just about.

Swapnil Bhartiya: So it, I mean, a lot of time has passed, not too much time has passed. How have you seen How have you seen the project evolve? Because it is now more mature. I mean, look at the conference itself, the way the projects are, the code is written, reviewed, and of course deployed. How have you seen it evolve, the whole ecosystem?

Evan Johnson: Really, the just number of different projects, the number of integration points where it’s not just Kubernetes and evolving Kubernetes itself, but it’s all of the supporting components, all the components built on top of it. And there’s so many different options. You know, you don’t have to just use ‘Cause we were talking about autoscaling, you don’t just have to use Cluster Autoscaler. There are other ways to do autoscaling. There are ways to inform your autoscaler. And just seeing the different inputs and outputs in the community and just all the different really cool projects that have come out of that have been really cool to see.

Swapnil Bhartiya: And let’s assume that if you’re not a hyperscaler, why even bother contributing or writing code or helping upstream maintainers instead of just writing it, your own code for your own platform?

Evan Johnson: For the Kubernetes vision of being cloud agnostic, if it is cloud agnostic just within the hyperscalers, that is not the goal. It is cloud agnostic amongst all the clouds, no matter the size. So being able to say, maybe the hyperscalers set an example for something, but that doesn’t mean the smaller clouds and the other clouds cannot learn from that and use that still and not force people to say, if you want to use this open source component, you have to use a hyperscaler, be able to really use whatever cloud you want to use.

Swapnil Bhartiya: And another thing is that when you do contribute to upstream, of course, when people see that that code is benefiting them also, they get involved. So you’re not doing all the heavy lifting, you know? And also this is something, in most cases, the people who are helping you are actually your competitors, you know? Yeah. So suddenly you get to work with some of the brightest people improving your code base versus you doing all the heavy lifting or getting burned out because the sustenance of that project is long-term as well.

Evan Johnson: Yeah, absolutely. And also being able to, if you’re a smaller cloud and you have more constraints, if you’ve built for one cloud, That is one thing. But when you have a different cloud with different constraints that folks might not have thought of, you have some really good contributions back upstream. So other clouds might not have thought about, oh, this is an environment that it might need to run in, or these are the constraints we might need to work with. And so it also really helps with the innovation within the upstream project if you are contributing back and not just sort of copying for your own version. It really helps a lot.

Swapnil Bhartiya: If you look at Kubernetes, we do hear a lot of graduation parties where the projects get matured to the drinking age as well. But then there are a lot of, actually the fact is that realistically graduation doesn’t really mean that much because those projects are already being used in production. But CNCF has the criteria, so when you meet, you graduate. But then there are a lot of new young open source projects. They don’t come to exist just because somebody wanted, okay? A company was working on something, it worked for them, so they released into CNCF, a sandbox, or whatever. How much hesitation companies have towards using those young open source projects? And what would you tell them that why they should actually lean towards them?

Evan Johnson: Yeah, I mean, things don’t get to, projects don’t get to graduation without adoption, and someone needs to be the early adopters, you know? And there’s a lot of really good ideas out there and really good projects. And they don’t get to learn about what maturity do they need without people using them. So really, no matter the maturity of the project, the age of the project, being able to step in and say, I’m going to try this out. Maybe it’s not for your production workload initially, but still giving the feedback to the open source maintainers, contributing where you have PRs to add or just general feedback is really important at all stages of the project, whether it’s Just about to graduation, in graduation, or really early on, and they’re just looking for feedback and looking to iterate on it.

Swapnil Bhartiya: And how should open source maintainers, developers, or the community look at Akamai as one of their allies and one of those players that, of course, you folks democratize a lot of things. You know, you can, I mean, you actually predate, I mean, if you look at Linux, predate a lot of these things. Yeah. So that they look at a company where they can run their workloads without having to worry about, you know, at the same time, a lot of projects are also there that they can leverage. How should open source community look at Akamai today?

Evan Johnson: Yeah, so I mean, we are a cloud, we have Kubernetes, and we are trying to give a Kubernetes experience that is equal.

Swapnil Bhartiya: We have AI also now.

Evan Johnson: Yes, we have, yes, we have inferencing.

Swapnil Bhartiya: We have OpenAI as well, I guess.

Evan Johnson: Yes, yeah, absolutely. So we are building out our cloud more and more every year and accelerating our cloud build-out. And we are looking to be a place where open source CNCF projects can run, where you can build on top of, if we have a region where you want to use or want a different experience than one of the hyperscalers, we still have a lot of the features that you need to work on, especially in the Kubernetes ecosystem where so much of it is just the core Kubernetes and having a consistent experience across clouds.

Swapnil Bhartiya: AI is writing a lot of code base. which also means that maintainers are under stress. At the same time, AI is also finding a lot of vulnerabilities that humanly were not possible. Oh yeah. So how do you look at this imbalance there?

Evan Johnson: It’s definitely been a challenge, and it’s definitely an evolution I’ve seen over the past year or so where initially it was just like tens, hundreds of PRs of like, oh, we found a new vulnerability, we found a new vulnerability. And initially it was really heavy on the maintainers to vet them and say, no, that’s not actually a vulnerability. And I think it got really heavy on that side. I think it’s evened out a little bit more where the models have gotten advanced enough where most vulnerabilities have some truth to them, which was not— there was a lot of hallucinations early on. So it has been good that we have new ways to find vulnerabilities, obviously, and uncover them and patch them and all of that. But it’s still, I think, something that the ecosystem is growing into and figuring out how to address. And through some trusted, some open source projects have like, Trusted contributors and stuff like that. So it is certainly challenging, but also having AI to help vet the— it is AI talking to AI in many cases, but being able to leverage AI on the maintainer side to do initial passes on PRs and on vulnerability reports and get you sort of initial passes has been really helpful for me.

Swapnil Bhartiya: You may or may not want to answer that question, but how much AI do you use to write your own codebase or to vet your codebase that you are going to use?

Evan Johnson: I use a decent amount of AI, especially for research and initial work. Where I found AI is really helpful is if you have really good guardrails on it. So with our more mature open source components we use, we have lots of testing, and that’s a nice place where you can say, I want AI to write a feature, and you can trust that your test harnesses that you already have built and your linting and unit testing and end-to-end testing and sort of guide AI towards These are the parameters which you need to work within. You need to add testing. You need to make sure testing is working. So as a project matures, I think that is really nice to be able to let agents a little more free, but also in the earlier parts of, I need a proof of concept for this, help me work on a proof of concept. Then you have a starting point, and where it might have taken you a few months to get to that starting point in the past, you now have a starting point where you can iterate by yourself with the help of agents. And definitely I think all parts of the process now use AI for different reasons.

Swapnil Bhartiya: Evan, thank you so much for joining us and of course talk about the work Akamai is doing in this whole open source Kubernetes space. And also thanks for sharing the balance that you talked about, the open source— sorry, not open source, but AI written code and vulnerabilities and some realistic. Thank you for your time today and I would love to have you back on the show.

Evan Johnson: Yes, thank you so much for having me.

Data Pipelines Meet AI Agents: Airbyte’s Merge | Jean Lafleur, Airbyte | TFiR

Previous article