Slide 1

Slide 1 text

BUILDING AND RUNNING SERVERLESS WORKLOADS 
 THE KNATIVE WAY

Slide 2

Slide 2 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware 2 Mario-Leander Reimer Principal Software Architect QAware GmbH

Slide 3

Slide 3 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Cloud Native Application Development is complex. YAML, Docker, Kubernetes, … 3

Slide 4

Slide 4 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Serverless is the next logical evolution in Cloud Native Software Development 4

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware –https://landscape.cncf.io/ „Serverless computing refers to a new model of cloud native computing, enabled by architectures that do not require server management to build and run applications. It leverages a finer-grained deployment model where applications, bundled as one or more functions, are uploaded to a platform and then executed, scaled, and billed in response to the exact demand needed at the moment.“ 6

Slide 7

Slide 7 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware 7

Slide 8

Slide 8 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware 8

Slide 9

Slide 9 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Conceptual Building Block of Knative 9 Kubernetes Istio Knative Serving Knative Eventing Knative Build

Slide 10

Slide 10 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Conceptual Building Block of Knative 10 Kubernetes Istio Knative Serving Knative Eventing Tekton Pipelines

Slide 11

Slide 11 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Conceptual Building Block of Knative 11 Kubernetes Ambassador or Gloo API Gateway Knative Serving Knative Eventing Tekton Pipelines

Slide 12

Slide 12 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Hybrid Architecture Use Cases • Integration into Enterprise PaaS environments • Build container images in runtime platform • Combination of Microservice Architecture with EDA • Usage of Function Services for Event- driven use cases • Reduced resource consumption via Scale- to-Zero functionality 12 Enterprise PaaS Microservices Serverless Workloads FaaS Platform X Y Z F1 F2 Fn DevOps S1 S2 Sn L M T

Slide 13

Slide 13 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Tekton Pipeline Concepts 13 PipelineResource Task TaskRun references input output Pipeline PipelineRun 1..* references references

Slide 14

Slide 14 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Knative Serving Concepts • Route is a named endpoint and a mechanism for routing traffic to • Revisions, which are immutable snapshots of code + config, created by a configuration • Configuration acts as a stream of environments for Revisions • Service acts as top-level container for managing a Route and Configuration which implement a network service 14

Slide 15

Slide 15 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Knative Eventing Concepts • Direct Delivery from source to Service • Fan-out delivery from a source or Service response to multiple endpoints using Channels and Subscriptions. 15 • Event Delivery as CloudEvent over HTTP Post • Sources: k8s, Github, Cron, Kafka, Camel, SQS, PubSub • Channels: InMemory, NATS, Kafka, PubSub

Slide 16

Slide 16 text

| Serverless Computing London | Building and running Serverless workloads the Knative way | @LeanderReimer #cloudnativenerd #qaware Fork me 16 https://github.com/lreimer/hands-on-knative

Slide 17

Slide 17 text

& Mario-Leander Reimer Principal Software Architect, QAware GmbH [email protected] https://www.qaware.de https://speakerdeck.com/lreimer/