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

Getting started with Tekton and Pipelines

Getting started with Tekton and Pipelines

January 13, 2021

Tekton is a powerful, Kubernetes-native framework for creating continuous integration and delivery (CI/CD) systems. In this article, we’ll use real-world examples to show you how to install Tekton, create Tasks, and eventually create our own pipeline. What’s a pipeline? Great question! In software development, pipelines are automated processes that drive software through a process of […]

Create your first serverless function with Red Hat OpenShift Serverless Functions

Create your first serverless function with Red Hat OpenShift Serverless Functions

January 4, 2021

Serverless is a powerful and popular paradigm where you don’t have to worry about managing and maintaining your application infrastructure. In the serverless context, a function is a single-purpose piece of code created by the developer but run and monitored by the managed infrastructure. A serverless function’s value is its simplicity and swiftness, which can […]

How to use developer sandbok

Get started with your Developer Sandbox for Red Hat OpenShift

December 9, 2020

While learning about state-of-the-art software development is important and great, nothing can beat hands-on experience. The challenge is that not everyone works where microservices and containers and serverless computing technologies are being

Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNation Tech Talk

Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNation Tech Talk

December 3, 2020

In this talk, we will showcase the potential of combining Tekton and ArgoCD for building a CI/CD workflow leveraging the capabilities of a serverless application. Tekton, a Kubernetes native framework, will be in charge of the Continuous Integration while ArgoCD will add the Continuous Delivery using a GitOps approach. During the session, we will briefly describe all the steps, tools, and frameworks involved in this CI/CD workflow.

Orchestrate event-driven, distributed services with Serverless Workflow and Kubernetes

Orchestrate event-driven, distributed services with Serverless Workflow and Kubernetes

November 26, 2020

Serverless workflows have gained renewed interest and usefulness with the rise of serverless architectures. Once seen as centralized and monolithic, they now play a key role in cloud-based event and service orchestration. Until recently, there was no vendor-neutral way to describe service orchestration, so developers were dependent on vendors and vendor implementations. We realized that […]

More for developers in the new Red Hat OpenShift 4.6 web console

More for developers in the new Red Hat OpenShift 4.6 web console

November 24, 2020

Red Hat OpenShift 4.6 streamlines developer onboarding in the OpenShift web console, but that’s not all. This article details improvements and new features in the topology view and introduces OpenShift’s new, form-based approach to creating horizontal pod autoscalers and Helm charts. I also touch on application monitoring improvements and the latest updates for Red Hat […]

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