Right Money Management App For Your Financial Goals
Spring I/O 2022: Knative and Spring - Bringing back the `func`
1. Mauricio Salatino & Thomas Vitale
Spring I/O
May 27th, 2022
Knative and Spring
Bringing back the func
@salaboy @vitalethomas
2. Mauricio Salatino
VMware - Knative OSS
* a.k.a @Salaboy
* Sta
ff
Engineer - Knative Eventing
tech lead for VMware
* Knative OSS core contributor
* Passionate about Functions,
Platforms, Open Source and
Kubernetes
salaboy.com
3. Systematic
* Software Architect at
Systematic, Denmark.
* Author of “Cloud Native Spring
in Action” (Manning).
* Spring Security and Spring
Cloud contributor.
Thomas Vitale
thomasvitale.com @vitalethomas
6. Serverless Architectures
Developers focus on code
Focus on business logic
@salaboy @vitalethomas
Developer
Platform
Infrastructure
Provisioning
Workload
Management
Dynamic
Scaling
7. Knative Serving
Serverless Containers on Kubernetes
Developer-friendly
abstractions
From code to URL
Autoscaling
Scaling to zero
Progressive
Rollouts
Request-driven
Event-driven
@salaboy @vitalethomas
Cloud agnostic
14. Functions Patterns
Topologies for functional programming
@salaboy @vitalethomas
Asynchronous
processing
Event-based
Data stream
via chained
functions
Synchronous
Asynchronous
Fire and Forget
Request/
Response
Request/
Response (State)
15. More on Knative Functions
In active development, join the community!
External templates
repository
Run locally with
func run
On-cluster build,
no Docker required
Roadmap to 1.0 GA
@salaboy @vitalethomas
Works with multiple
languages and
frameworks
16. Platform v2 - Polyglot Functions
From idea to deployment with autoscaling
@salaboy @vitalethomas
URL
func create
Image
func deploy
Kubernetes Cluster
Container
Container
Container
Knative
Serving
20. Spring Cloud Function
Business logic as functions
Transparent
Type
Conversion
Function
Arity
Function
Composition
Reactive
Support
JAR
Functions
@salaboy @vitalethomas
23. Spring Cloud Function
Deployment and integrations
Knative CloudEvents RSocket
Azure
Functions
Google Cloud
Functions
AWS
Lambda
@salaboy @vitalethomas
34. Resources
Source code
• Learn more about the game:
• https://github.com/salaboy/from-monolith-to-k8s/tree/main/game
• Deploy the game on Kubernetes:
• https://github.com/ThomasVitale/eventing-game
• Spring Cloud Function samples:
• https://github.com/ThomasVitale/springio-2022-knative-spring-func