Build serverless architectures for Kubernetes with Knative

Knative is an open source community project that offers developers a Kubernetes-native API, adding components to build, deploy, and manage modern serverless workloads and serverless-style functions.

Make serverless seamless with Knative

Build and deploy a serverless service to Knative

The Knative serverless environment lets you deploy code to Kubernetes, but no resources are consumed unless your code needs to do something. With Knative, you create a service by packaging your code as a Docker image and handing it to the system. Your code only runs when it needs to, with Knative starting and stopping instances automatically.

Want to learn how? This series of articles and videos, the Compile Driver, shows you how to build your own working serverless environment.

 

Knative and Serverless Service Tutorial

What is Knative?

Serverless architecture has recently taken center stage in cloud native application deployment. Enterprises started to see the benefits that serverless applications bring to them, such as agility, rapid deployment, and resource cost optimization. 

Knative was started with the simple goal of having a Kubernetes-native platform to build, deploy, and manage your serverless workloads. Knative tries to solve Kubernetes problems by providing all essential middleware primitives via a simpler deployment model. On Knative you can deploy any modern application workload, such as monolithic applications, microservices, or even tiny functions. Knative can run in any cloud platform that runs Kubernetes, which gives enterprises more agility and flexibility in running their serverless work‐ loads without relying on cloud vendor–specific features.

k-native cookbook cover

Knative Cookbook: Building Effective Serverless Applications with Kubernetes and OpenShift

Enterprise developers face several challenges when it comes to building serverless applications, such as integrating applications and building container images from source.

With more than 60 practical recipes, this cookbook helps you solve these issues with Knative–the first serverless platform natively designed for Kubernetes.

 

Download e-book

Devnation Tech Talks

Video

AWS Lambda and serverless Java

Video

Serverless with Knative deep dive - How to install and deploy

Video

Knative: Going native and serverless on Kubernetes

Video

An introduction to serverless | DevNation Tech Talk

Kubernetes Native Microservices with Quarkus and MicroProfile e-book cover

Kubernetes Native Microservices with Quarkus and MicroProfile

Kubernetes Native Microservices: With Quarkus and MicroProfile provides an essential understanding of what it takes to develop cloud-native applications using modern tools such as microservices that utilize and integrate with Kubernetes features naturally and efficiently. The result is a productive developer experience that is consistent with the expectations of Kubernetes platform administrators.

By reading these early release chapters, you will:

  • Understand what microservices are and how they have evolved over the last decade as a popular enterprise software architecture. 
  • Dive into the history and overview of MicroProfile and its growth into a significant collection of microservices-related specifications and introduce Quarkus as a Java runtime that supports these technologies. 
  • Get an introduction to core Kubernetes concepts and why they make Kubernetes an ideal microservices deployment platform.
  • Learn how to unite Java, MicroProfile, Quarkus, and Kubernetes to build fast, efficient applications.
  • Get step-by-step instructions on how to make code changes in Quarkus Live Coding.
  • Learn how to develop Java microservices with Quarkus and Microprofile that target Kubernetes as a deployment environment.

Download e-book

New articles on serverless with Knative

OpenShift Serverless Functions 2
Article

Knative 1.0: Simplify serverless on Kubernetes

November 4, 2021

Knative makes it easy to run serverless containers on Kubernetes. Explore key features and capabilities in honor of the project's 1.0 release.

OpenShift Serverless Functions 1
Article

Send S3 data to Telegram with Red Hat OpenShift Serverless Functions

October 27, 2021

Learn how to create a simple function that consumes data from an AWS S3 bucket and sends it to a Telegram chat with Camel K.

Build here, go anywhere.
Article

Red Hat Developer roundup: Best of October 2021

October 27, 2021

Don't miss a thing! Here's a roundup of new articles, tutorials, cheat sheets, and more published this month on Red Hat Developer.

Build here, go anywhere.
Article

What's new in the Red Hat OpenShift 4.9 console

October 21, 2021

Discover new features improving general usability and the developer console experience for Knative, Tekton, and GitOps development on OpenShift.

Featured image for topics related to coding.
Article

Monthly roundup: Best of September 2021

September 21, 2021

Don't miss a thing! Here's a roundup of new articles, tutorials, activities, and more published this month on Red Hat Developer.

Featured image for "Faster web deployment with Python serverless functions."
Article

Create event-based serverless functions with Python

September 9, 2021

Develop a Python-based serverless function that sends an email in response to a CloudEvent, and learn how to run your serverless function in a container.

More articles on Serverless with Knative

Latest Comments

Waiting for Disqus…

Tutorial: Introduction to Knative

Serverless epitomize the very benefits of what cloud platforms promise: offload the management of infrastructure while taking advantage of a consumption model for the actual utilization of services. While there are a number of server frameworks out there, Knative is the first serverless platform specifically designed for Kubernetes and OpenShift.

This tutorial will act as step-by-step guide in helping you to understand Knative starting with setup, understanding fundamentals concepts such as service, configuration, revision etc., and finally deploying some use cases which could help deploying serverless applications.

 

Start tutorial