spec icon indicating copy to clipboard operation
spec copied to clipboard

[Question] What is the difference of OAM and kubernetes-sigs/application

Open gyliu513 opened this issue 6 years ago • 8 comments

Can someone show the difference for those two projects? Thanks!

Here is the link of kubernetes application https://github.com/kubernetes-sigs/application

gyliu513 avatar Oct 31 '19 06:10 gyliu513

Maybe App SIG also use OAM spec to describe the app?

LeoLiuYan avatar Nov 01 '19 02:11 LeoLiuYan

@LeoLiuYan not yet, the SIG-APP has their own CRD for application https://github.com/kubernetes-sigs/application#using-the-application-crd

gyliu513 avatar Nov 01 '19 02:11 gyliu513

@gyliu513 the CRD of kubernetes-sigs/application is more like provider information for an app. OAM describe the whole application.

Let me give an example using helm chart:

kubernetes-sigs/application is more like the chart.yaml file of a chart, while OAM is yamls in template directory.

wonderflow avatar Nov 01 '19 03:11 wonderflow

@gyliu513

The SIG APP CRD is designed mainly for storing metadata, showing status, and dashboard visualization.

OAM is more for defining the application so that it can be deployed and managed consistently across platforms.

xiang90 avatar Nov 01 '19 03:11 xiang90

Thanks @wonderflow and @xiang90 , do you have any recommendations for what is the best user scenario compared between kubernetes-sigs/application and OAM?

gyliu513 avatar Nov 01 '19 05:11 gyliu513

@xiang90 it's a good question, can we add this to the FAQ?

Happy to send an initial PR if you want.

tomkerkhove avatar Nov 01 '19 08:11 tomkerkhove

@tomkerkhove Please ship it :-)

resouer avatar Nov 01 '19 18:11 resouer

Apparently already being tracked in #239

tomkerkhove avatar Nov 04 '19 13:11 tomkerkhove