Slide 1

Slide 1 text

Ryan Zhang - Alibaba Cloud Introduce OAM V1Alpha2 Spec

Slide 2

Slide 2 text

Goal • Highly extensible • Open up the definition of workload/trait/scope • Component is fully customizable for operators • Kubernetes native • Allow user to bring in their existing controllers • Seamlessly integrate operator framework

Slide 3

Slide 3 text

Worload Definition • Workload contains a schema reference • This allows us to take schema out of a component. • It can refer to any schema that contains self identification. • A component is an instantiation of a workload with “customizable” fields

Slide 4

Slide 4 text

Component • Component instantiate a workload • A developer creates the component. • It follows the schema defined in the workload. • A component is close to a CR if the workload Definition contains a CRD • A parameter now can point to any fields in the schema

Slide 5

Slide 5 text

Trait/Scope • Trait/Scope both reference schema • Trait and scope are as extensible as workloads • Application operators instantiate Trait/Scope in the application configuration

Slide 6

Slide 6 text

Application Configuration • Instantiation of traits are embedded in the component. • Components refer to instantiated scopes.

Slide 7

Slide 7 text

Future plan • Dependency • We need a way to describe dependencies between components. • Policy • We need a way for a trait to apply to extended workloads • We need a way for an application developer. • Trait registry • Trait interacts with workloads • Standard traits

Slide 8

Slide 8 text

Q & A