SlideShare a Scribd company logo
Managing serverless workloads with
Knative
savitaashture savita-ashture
Savita Ashture
@
savitaashture
It's all about me :)
Agenda
➢ Serverless Again :)
○ Overview
➢ Knative
○ Overview, Modules, Products
➢ Serving
○ Terminology, Workflow
➢ Demo
○ Migrating existing K8S Deployment to Knative Service
SERVERLESS
Serverless?
-- CNCF Definition,
https://www.cncf.io/blog/2018/02/14/cncf-takes-first-step-towards-serverless-co
mputing/
Events
Action
Result
1. No worries about infrastructure
2. Auto scaling
3. Pay as you go
Principles
Knative
Managing serverless workloads with knative
Knative
Kubernetes-based platform to deploy and manage modern serverless
workloads.
1. Open Source project
2. Acts as a layer between Kubernetes and Serverless
3. Can run anywhere: on premises, cloud and third-party data center
https://knative.dev/blog/2020/02/03/2019-annual-report/
Knative Modules
Build Serving Eventing
Knative
Kubernetes
Platform
Primitives
Knative Modules
Build Serving Eventing
Knative
Kubernetes
Platform
Primitives
Knative Modules
Build Serving Eventing
Knative
Kubernetes
Platform
Primitives
Tekton
Knative Modules
Knative
Kubernetes
Platform
Primitives
Serving Eventing
Products
Platform
Primitives
Products
Kubernetes
Serving Eventing
Google
cloud run
SAP Kyma
Red Hat Openshift
Pivotal Function Service
Trigger MeshIBM Cloud Kubernetes service
Serving
Terminology
Object Short Form
● Service ksvc
● Configuration cfg
● Route rt
Knative
Kind:
Service
Knative
Service
k8s Service
● Revision rev
User can Creates
Serving Creates
Workflow
Service
Configuration
Manag
es
Route
Workflow
Service
Configuration
Manag
es
Route
Revision
Revision
Record and
manage history
Workflow
Service
Configuration
Manag
es
Route
Revision
Revision
Record and
manage history
Routes
Traffic
To
Workflow
Service
Configuration
Manag
es
Route
Revision
Revision
Record and
manage history
Routes
Traffic
To
Knative
Workflow
Service
Configuration
Manag
es
Route
Revision
Revision
Record and
manage history
Routes
Traffic
To
Knative
Deployment
Replica Set
Pod
Workflow
Service
Configuration
Manag
es
Route
Revision
Revision
Record and
manage history
Routes
Traffic
To
Knative
Deployment
Replica Set
Pod
Kubernetes
1. Activates and scale up/down based on request.
2. Manages code and configuration revisions
3. Integrates with different networking solutions for routes
4. Support custom domain and certificate management
Benefits
Demo
https://knative.dev/
https://github.com/knative/serving
https://developers.redhat.com/topics/serverless-architecture/
https://knative.dev/docs/install/
References
Thank you

More Related Content

Managing serverless workloads with knative