spec icon indicating copy to clipboard operation
spec copied to clipboard

[SoC-2020] Make OpenKruise as OAM Workload with some Traits

Open hongchaodeng opened this issue 4 years ago • 2 comments

Alibaba Summer of Code

Make OpenKruise as OAM Workload with some Traits

Open Application Model (OAM) has Workload and Trait which is focused by different roles. With the help of OAM, application developer can only focus on building an app from source to image and choosing a kind of workload to use. On the other hand application operator handle the rest by choosing traits provisioned by platform.

OpenKruise is a set of controllers which extends and complements Kubernetes core controllers on workload management. These controllers are really good match with OAM workload but it mixed some traits in it.

Our goal is make controllers of kruise as workloads of OAM and split out the trait part. We will mainly have three steps to reach this goal:

  1. Split existing operational traits of kruise workloads (e.g. CloneSet, UnitedDeployment) out as standalone OAM Trait controller.
  2. Add some more traits which will have more powerful features for kruise, e.g. replicas scaling, update strategies.
  3. Set up a demo application workflow like scale/publish to show all these above features.

Sounds interested? Apply! We expect the applicant to be a highly motivated person and fast learner. What the applicant will achieve throughout this project:

  • Participate in one of the top open-source projects;
  • Get a scholarship from Alibaba;
  • Obtain an open source contributor certificate;
  • Get a fast pass of Alibaba Internship/recruitment;
  • Get your code adopted and used by the open source project!

Mentor: Jianbo Sun (@wonderflow), OAM author & maintainer. Siyu Wang (@FillZpp), OpenKruise author & maintainer.

hongchaodeng avatar May 22 '20 17:05 hongchaodeng

Hi @wonderflow @hongchaodeng @FillZpp

OAM is an interesting project initiation. I have explored the OpenKruise documentation specifically the CloneSet and UnitedDeployment. I certainly want to propose a plan for ASoC 2020 to implement OpenKruise as OAM Workload with some Traits.

Q) Could you help me identify traits in kruise workloads ( CloneSet, UnitedDeployment)?

It would be great if you can guide me to write a proper proposal for this amazing project.

Cheers, Rohit D

me-diru avatar Jun 17 '20 14:06 me-diru

@diru1100 Hi, Rohit, Glad to see you are interested to this project! All workloads in kruise can be OAM workload, but some operational fields are mixed in it. So our goal here is to find their common things and create some traits(e.g. rollout trait, hpa trait..) that can use in both kruise workloads and other OAM workloads. And one student is already working on that, you can refer to catalog project

wonderflow avatar Jun 18 '20 07:06 wonderflow