Serverless is a model that allows you to build and run applications without requiring deep insight into the underlying infrastructure. The idea is that the platform is ubiquitous and simply works. With that assumption, developers focus on writing code, and not on the infrastructure.
With that capability in place, developers can focus on writing code and determining when their code needs to be run. By enabling an event-driven model on the serverless deployment, it is possible to define that the code only runs when necessary. The result lies in creating the scenario that allows code to be idle when not needed. When an event-trigger occurs, the application will automatically scale up based on incoming demand, and is able to scale to zero after use.
Developers don’t need to worry about server provisioning or maintenance of the underlying infrastructure. They simply write their code and package it in a container for deployment, then define the conditions that will start the application when it needs to run.
The serverless model helps organizations innovate faster because the application is abstracted from the underlying infrastructure. Applications are packaged as OCI compliant containers that can be run anywhere, regardless of how they are written. Your code can be packaged with runtimes in a container, and it can take advantage of being event-driven and scale to zero resource consumption when not in use.
Applications can be triggered by a variety of event sources, such as events from your own applications, cloud services from multiple providers, Software as a Service (SaaS) systems and other services.
To run the application on demand, select what event will trigger the application to run. Deconstruct your monolithic application into individual containers, and let the application logic trigger each container. Use incoming events to determine when to launch your application.
Red Hat OpenShift Serverless helps developers to deploy and run event-driven applications that will start based on an event trigger, scale up resources as needed, then scale to zero after resource burst. With the power of Knative, Red Hat OpenShift Serverless applications can run anywhere Red Hat OpenShift is installed. On-premises. Multiple cloud locations. All using the same interface.
With a wide range of supported event sources, you are also less limited in how you choose to trigger when each container is started and scale to zero when not in use.
Use Kubernetes and Red Hat OpenShift to build, scale, and manage serverless applications in any cloud, on-premise, or in a hybrid environment.
Build modern, serverless applications and support legacy applications through event sources. Manage both types of applications on Red Hat OpenShift.
With little or no infrastructure to set up, Knative allows developers to focus on building new products. Knative installs on OpenShift using Operators, simplifying installation and automating updates and management for Day 2 operations.
Knative uses Kubernetes to help gain greater consistency and incremental scalability across applications and teams.