-
Notifications
You must be signed in to change notification settings - Fork 80
ContainerizedWorkload Add SubWorkloadType #13
Comments
I think what @allenhaozi needs is a way that can distinguish different K8s native workloads from containerized workload. Now containerizedWorkload is translated to K8s Deployment by default, but in fact, K8s Job, Statefulset and some other native workloads are all containerized. We don't have such mechanism to let user choose. |
I suggest to use a new workload to fit other K8s resource ,for example , use Job Workload to represent K8s Job:
|
What @allenhaozi suggests in this issue is also a way that let core workload(containerized workload) to cover more scenarios. This is also one of advantages in OAM v1alpha1, that we define 6 core workload types (Server/Task/Worker and their singletons). In v1alpha2, we enable more extendibility but can't ignore the standard parts. Another option is to add batch/v1.Job and some of other native workloads to OAM core workload. |
Yes, this is what I want to express, looking forward to a powerful OAM core workload |
@allenhaozi Thank you for raising the issue. Here is our current thinking
|
@allenhaozi Can this conclusion solve your issue? By the way, which kind of policy way do you prefer? |
Yes, policy can cover my case,
ServerWorkload for online, TaskWorkload for offline |
Here is the policy design #33 |
I think we don't really need As for |
@allenhaozi Hi, it seems community is really interested in this feature, so we create a new issue to track it: #211 Feel free to comment/input there! Could you please close this one because of duplication? |
current struct:
add a new field
WorkloadSubType
background
The text was updated successfully, but these errors were encountered: