Lei Zhang (Harry)
Lei Zhang (Harry)
@simardst This is a very interesting scenario and we would be very happy to solve it in OAM. Just to confirm, is the workload controller your component rely on is...
> short-term we are planning to implement a limited set of OAM concepts using custom controllers built from our existing stack. @simardst That would be the reasonable approach IMO, k8s...
@simardst You don't need to define ExtendedWorkload, I am referring to leveraging the [metadata.annotations](https://github.com/oam-dev/spec/blob/master/2.overview_and_terminology.md#metadata), this is the place where system level informations are patched to. For example: ```yaml apiVersion: core.oam.dev/v1alpha2...
@simardst So it seems it's actually your code relies on such environment/information to react differently to different storage types, not the Component controller, correct? In that case the app operator...
@simardst Got it. Thank you for making the issue more clear! The most straightforward way is using a feature named [data input/ouput](https://github.com/crossplane/oam-kubernetes-runtime/blob/master/design/resource-dependency.md) in OAM, for example: ```yaml apiVersion: core.oam.dev/v1alpha2 kind:...
@simardst Another option is we can refactor out the core functionalities of oam-kubernetes-runtime as lib so you can use it to build non-k8s runtime directly.
The `ContainerizedWorkload` schema assumes OCI image as the way to package artifacts, it has no assumption that the implementation should be Linux container. But I agree it's also a valid...
FYI, non-container workloads are first-class citizens in OAM by [extended workloads](https://github.com/oam-dev/spec/blob/master/3.component_model.md#extended-workload-types), let's say, a [Function](https://github.com/oam-dev/spec/blob/master/3.component_model.md#example-extended-workload-type). We are adding implementations for extended workload as well (while not in spec repo).
Good idea. Though, I think Terraform is more like a runtime implementation for OAM than simple extension workload type. To me, Terraform is K8s for infrastructures. So the goal would...
@AdrienFromToulouse Yes it's close to what I am thinking. Orchestration system like Terraform would be more like a runtime implementation, as OAM concepts (Component, Trait, Scope etc) will be mapped...