OAM-Alibaba-Crossplane Community Day v9
OAM-Alibaba-Crossplane Community Day v9
Xiang Li
Alibaba Cloud
Application Management At Alibaba
Developers Operators
Serverless C
PaaS B
PaaS A Deployment
Challenges
App Instance Function
Service • Fragmentation in app layer, ~11
Job internal PaaS/Serverless
• Siloes, lack reusability and
interoperability
Route Monitor Route • Infra centric, low level primitives
HPA
Deployment Gateway Rollout leaked to end user
Gateway
Traffic Job Route Alert Traffic
Scale: Velocity:
- 10,000 nodes/cluster - 100,000 deploys/day
- 100,000 apps/cluster - 500~1000 replicas/app
- 1,000,000 containers/cluster
Infra Ops
Container
OAM Recap
Function
What to run: Components VM
OAM Spec Cloud Resource
Operational capability:Traits
scaling
Helm, Kustomize, DSL (e.g. cdk8s) routing
manually create
ingress
packaging trigger
OAM YAML files
OAM
deploy Implementation
Prometheus
Current state
• ~100 CRD + controllers installed in one cluster
• use annotation/webhook to discover and manage
Challenges
• Nobody knows how many capabilities the system supports
exactly, even some of them are duplicated/deprecated
• Nobody knows how many capabilities are applied to a
given application
• Nobody knows if one capability is conflict with the other
until the deployment is fail
Rollout
HPA CronHPA
app-config.yaml
service binding
Serverless ISV
Operator IoT
platform
App/Serverless platforms in Alibaba
• Alibaba Application Platform (EDAS)
• distributed Java application platform
• Public product
• Alibaba Operator Platform
• Stateful application platform
• Internal platform
• Alibaba Serverless Platform
• Serverless (event driven) application platform
• Both public product and internal platform
OAM + Alibaba Application PaaS (EDAS)
• Before: traditional PaaS with close ecosystem
• After: OAM as core application model, provide simplified end user experience but Balance extensibility of k8s
still keep the extensibility of k8s, make EDAS become into an open ecosystem
with best end-user experience
by OAM based abstractions
Feature OAM Category Description
• ContainerizedWorkload • component • Stateless app
• sls-project, sls-logstore, sls- • component • Alibaba Cloud Resources as Connect and consume cloud
index BaaS
resources thru OAM based
BaaS
Share with other platforms
Future
PaaS A PaaS B Serverless C
Traits/Scopes Components
Service
Traffic Gateway Monitor Job Container
Binding
interpretability
Scale: Applications:
- 10,000 nodes/cluster - 100,000 deploys/day
- 100,000 apps/cluster - 500~1000 replicas/app
- 1,000,000 containers/cluster
Infra Ops
Kubernetes in Alibaba with OAM
For Platform
Demo - FlightTracker
Deploy and run the app on different clouds with exactly same YAML file