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.

knative 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 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 ebook 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 ebook

New articles on serverless with Knative

Featured image for Camel + OpenShift
Article

Modernizing applications with Apache Camel, JavaScript, and Red Hat OpenShift

July 26, 2021

Learn how to use Apache Camel and Camel K with JavaScript to simplify development and run integrations directly on a Red Hat OpenShift cluster.

Content for Node.js developers at NearForm event
Article

Node.js serverless functions on Red Hat OpenShift, Part 2: Debugging locally

July 13, 2021

Learn how to run and debug Node.js applications locally with Visual Studio Code, in Part 2 of this series on Node.js serverless functions.

Featured image for Node.js.
Article

Node.js serverless functions on Red Hat OpenShift, Part 1: Logging

July 1, 2021

Take a deep dive into Node.js serverless functions! In Part 1, learn how logging works and how to customize a Node.js function application’s log levels.

Featured image for: Simulating CloudEvents with AsyncAPI and Microcks.
Article

Simulating CloudEvents with AsyncAPI and Microcks

June 2, 2021

Learn how to combine the CloudEvents and AsyncAPI standards to more robustly define your event-driven architecture, then use Microcks to simulate CloudEvents for faster development across teams.

Featured image for "Design event-driven integrations with Kamelets and Camel K."
Article

Design event-driven integrations with Kamelets and Camel K

April 2, 2021

Get a first-hand demonstration of the benefits of incorporating Kamelets into your Camel K integrations and event-driven architecture designs.

Featured image for "New developer quick starts and more in the Red Hat OpenShift 4.7 web console."
Article

New developer quick starts and more in the Red Hat OpenShift 4.7 web console

March 8, 2021

Find out what's new for developers in the Red Hat OpenShift 4.7 web console, including new developer quick starts, enhanced topology features, and more.

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