Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's new in OAM v1alpha2 Spec?

What's new in OAM v1alpha2 Spec?

What's new in OAM V1Alpha2 Spec?

1. Highly extensible
Open up the definition of workload/trait/scope
Component is fully customizable for operators

2. Kubernetes native
Allow user to bring in their existing controllers
Seamlessly integrate operator framework

Lei (Harry) Zhang

April 13, 2020
Tweet

More Decks by Lei (Harry) Zhang

Other Decks in Technology

Transcript

  1. Ryan Zhang - Alibaba Cloud
    Introduce OAM V1Alpha2 Spec

    View Slide

  2. 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

    View Slide

  3. 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

    View Slide

  4. 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

    View Slide

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

    View Slide

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

    View Slide

  7. 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

    View Slide

  8. Q & A

    View Slide