UPDATED 20:30 EST / MAY 21 2019

INFRA

Q&A: Don’t assume serverless has limitations, says IBM Knative expert

The no limit mentality is especially ripe in the technology industry, where the mantra tends to be ‘fail fast and fail often.’ New IT platforms are constantly being designed to make daily business operations easier. But assuming certain workloads aren’t appropriate or that barriers exist without testing things first can be a fatal mistake, according to Doug Davis (pictured), senior technical staff member at IBM and PM of Knative.

In the case of serverless, a new landscape that assists with applications like Kubernetes and its simplified brother Knative, Davis has trouble believing that it has any current limitations. He’s heard a few negative stories but isn’t quite convinced.

Davis spoke with Stu Miniman (@stu), co-host of theCUBE, SiliconANGLE Media’s mobile livestreaming studio, and guest host Corey Quinn (@QuinnyPig) during the KubeCon + CloudNativeCon event in Barcelona, Spain. They discussed the functions of the Cloud Native Computing Foundation’s Serverless Working Group, how Knative can make processes easier for developers, and if there are any workloads that aren’t appropriate for serverless’ abilities (see the full interview with transcript here). (* Disclosure below.)

[Editor’s Note: The following answers have been condensed for clarity.]

Miniman: Most developers are looking for reduced friction, and they want things to be easier. How does Knative help us move towards that?

Davis: I look at Knative as a simplification of Kubernetes, because as much as everybody loves Kubernetes, it’s kind of complicated. It’s not the easiest thing in the world to use, and it forces you to be an IT expert, which almost goes against the direction we were headed. You don’t want to have to worry about something; you just want to give us your code, right? Kubernetes says you must know about networks and volumes, so, it’s kind of going the wrong way.

Knative tries to give you all the features of Kubernetes but in a simpler platform. The important thing is that if you need to go around Knative because it’s too simplified or opinionated, you can still do that if you need to get to the complicated stuff. And it’s not like you’re entering a different world. It’s the same infrastructure that you can deploy things on. Knative can integrate very nicely with the stuff you deploy through Kubernetes. It’s nice to merge these two worlds.

Miniman: What is the Serverless Working Group?

Davis: The Serverless Working Group was started back in 2017 by the CNCF Technical Oversight Committee [TOC]. They wanted to know what is serverless all about, and they wanted to learn more how to get involved. They started up the Serverless Working Group, and the main mission was to just do investigation. The output of this working group was a white paper describing serverless and the good use cases for when to use it. It also covered common architectures by explaining what goes on in the space.

It also produced a landscape document laying out what’s out there from a proprietor’s perspective, as well as an open-source perspective. At the tail end of the white paper was a set of recommendations for the TOC. What should they do next? It came down to three different things. One was education. They wanted to educate the community about when serverless was appropriate.

The second was what projects should be handled by serverless and how to grow the community. Third was what they should do around improbability. Obviously, when it comes to open-source standards and things like that, serverless is all about events. They recognized that if they could help the processing of events as they move from point A to point B, that might help people in terms of middleware when it came to the routing of events and filtering events.

Quinn: What workloads are not appropriate for serverless in your mind?

Davis: The only limitations I’ve seen regarding what you should not run are in terms of whatever the platform binds you to. With AWS, for example, it might have time limitations regarding how long you can run certain applications. If that’s a problem, don’t use it. That’s not an artifact of serverless. That’s an artifact of your choice of implementation service. You could let it run forever if you want.

In terms of what workloads are good or bad, I don’t have a good answer for that because I don’t necessarily buy some of the stories I’m hearing. I think you should try to run everything you can on Knative, and then when it fails, go someplace else. It’s the same story I had when containers first came around. They would ask when they should use VMs vs. containers. My go-to answer was, “Always try containers first. Your life will be a whole lot easier when it doesn’t work.”

I don’t want to try and pigeonhole something like serverless or Knative and say, “Oh! Don’t even think about it for these things,” because it may work just fine for you. I don’t want people to believe negative hype.

Watch the complete video interview below, and be sure to check out more of SiliconANGLE’s and theCUBE’s coverage of the KubeCon + CloudNativeCon event. (* Disclosure: The Cloud Native Computing Foundation sponsored this segment of theCUBE. Neither CNCF nor other sponsors have editorial control over content on theCUBE or SiliconANGLE.)

Photo: SiliconANGLE

A message from John Furrier, co-founder of SiliconANGLE:

Your vote of support is important to us and it helps us keep the content FREE.

One click below supports our mission to provide free, deep, and relevant content.  

Join our community on YouTube

Join the community that includes more than 15,000 #CubeAlumni experts, including Amazon.com CEO Andy Jassy, Dell Technologies founder and CEO Michael Dell, Intel CEO Pat Gelsinger, and many more luminaries and experts.

“TheCUBE is an important partner to the industry. You guys really are a part of our events and we really appreciate you coming and I know people appreciate the content you create as well” – Andy Jassy

THANK YOU