This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
support multi kinds in abstract layer containerizedworkload #137
Comments
I have a immature idea:
The
The annotation part could be a patch provisioned by
And finally the controller of ContainerizedWorkload could recognize the annotation and use Statefulset as child resource. @jack0liu Would this solve your problem? |
@wonderflow yes, i believe that it will work. but that usage doesn't seem to match the concept of the trait, would customers be confused with the definition of trait? |
@jack0liu A better name will solve it |
This form can be regarded as experimental. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the abstract layer containerizedworkload, currently only the deployment is supported.
One user case :
An app contains two components, one is deployment, another is statefulset. For simplifying definition with OAM way, we use containerizedworkload as component workload.
Example:
The storage-api is not stateful, it maybe work well with containerizedworkload:
The file-storage is stateful, it should not be a deployment, but a statefulset. and in the beginning, just let it running well, and later we should attach a replica-trait to make the statusful component exptend:
The text was updated successfully, but these errors were encountered: