KusionStack / konfig

Shared repository of application models and components, and CI suite for GitOps workflows
Apache License 2.0
27 stars 32 forks source link

Add schema KubeVelaAppConfig to support KubeVela App and IaaS resources #87

Closed SparkYuan closed 1 year ago

SparkYuan commented 1 year ago

Enhancement

Add shcema KubeVelaAppConfig like the existed schema Server to support both KubeVela and IaaS resources. We can convert K8s resources to KubeVela Application and Iaas resources to TF resources.

More details can be found here https://github.com/kubevela/kubevela/issues/5219

SparkYuan commented 1 year ago

Ref: https://github.com/KusionStack/konfig/pull/86

@howieyuen @liu-hm19

liu-hm19 commented 1 year ago

As proposed in kubevela/kubevela#5219, K8s related resources in KubeVelaAppConfig will be interpreted into a KubeVela Application model, and TF related resources will be interpreted into a Kusion Spec for IaaS resources, oss for instance. Thus the example of wordpress (Ref: #86) will be interpreted into Kusion Spec with two types of resources, as sampled below:

Stack: dev ID Action

howieyuen commented 1 year ago

There is a user guide in kubevela official website, Provision and Binding Database, which provides cloud resources across k8s and TF. It's quite similar with our situation.

liu-hm19 commented 1 year ago

Added supports for kubevela application in server frontend and render along with related alicloud rds resources: #91