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

New articles on serverless with Knative

Serverless Workflow: New approach to Kubernetes service orchestration | DevNation Tech Talk

Serverless Workflow: New approach to Kubernetes service orchestration | DevNation Tech Talk

August 6, 2020

With the rise of Serverless Architectures, Workflows have gained a renewed interest and usefulness. Typically thought of as centralized and monolithic, they now play a key role in service orchestration and coordination as well as modular processing. With many different architecture approaches already in place, the Cloud Native Computing Foundation (CNCF) has started an initiative to specify serverless workflows to ensure portability and vendor neutrality.

Creating event sources in the OpenShift 4.5 web console

Creating event sources in the OpenShift 4.5 web console

July 28, 2020

Red Hat OpenShift 4.5 makes it easier than ever to deploy and run event-driven applications that react to real-time information via event notifications. Empowered by OpenShift Serverless, applications come to life through events, scaling up resources as needed (or up to a pre-configured limit), and then scaling back to zero after the resource burst is […]

Migrating Spring Boot tests to Quarkus

Migrating Spring Boot tests to Quarkus

July 17, 2020

As developers, we don’t always consider test migration when we think about adopting a new framework. Tests are important, however, because they ensure that our code meets its requirements and works as desired, especially when we add new features and functionality. Test migration is an essential part of migrating to a new application development framework. […]

Kourier: A lightweight Knative Serving ingress

Kourier: A lightweight Knative Serving ingress

June 30, 2020

Until recently, Knative Serving used Istio as its default networking component for handling external cluster traffic and service-to-service communication. Istio is a great service mesh solution, but it can add unwanted complexity and resource use to your cluster if you don’t need it. That’s why we created Kourier: To simplify the ingress side of Knative […]

Camel K 1.0: The serverless integration platform goes GA

Camel K 1.0: The serverless integration platform goes GA

June 18, 2020

After many months of waiting, Apache Camel K 1.0 is finally here! This groundbreaking project introduces developers to cloud-native application development and automated cloud configurations without breaking a sweat. With the 1.0 general availability (GA) release, Apache Camel K is more stable than ever, with performance improvements that developers will appreciate.

Supersonic, Subatomic Java Hackathon: June 15 - July 22 2020

Supersonic, Subatomic Java Hackathon: June 15 - July 22 2020

June 15, 2020

The Quarkus community is excited to announce the Supersonic, Subatomic Java Hackathon for developers to create Kubernetes-native applications for a chance to win $30,000 in prizes. This hackathon is a great opportunity to learn about the future of cloud-native Java development and showcase your coding skills. If you are new to Quarkus, don’t worry.  The […]

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