Knative Serving overview
1 minute read ∼ Filed in : A paper noteThis is a summary of
https://knative.dev/docs/serving/
https://www.ibm.com/cloud/learn/knative
https://www.ibm.com/cloud/blog/istio-and-knative-extending-kubernetes-for-a-new-developer-experience
https://haralduebele.github.io/2020/06/10/serverless-and-knative-part-3-knative-eventing/
Introduction
Knative uses Kubernetes as a container manager. Istio as network routing manager, and also propose Build, Eventing, Serving.
Build:
CI/CD
automates the process of turning source code into a container
Evening
Eventing is implemented by using a message queue like Kafka.
The Eventing component of Knative enables different events to trigger their container-based services and functions
Knative Serving
Provides:
- fast deployment container
- autoscaling: Knative provides automatic scaling to match incoming demands. This is provided using Knative Pod Autoscaler. (KPA)
- support multiple networking layers
- snapshots of deployed code/configurations.
Resources:
-
service: Manage the whole lifecycle of the workload. It creates objects to ensure each app has a route, cfgs, and revisions for each update.
- Route: Map a network endpoint to one or more revisions.
- cfgs
- Revision: A snapshot of code and cfgs.