Skip to content
/ catalog Public
forked from KusionStack/catalog

Catalog of shared Kusion Models and Generators.

License

Notifications You must be signed in to change notification settings

adohe/catalog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kusion Catalog

Kusion is a modern application delivery and management toolchain that enables developers to specify desired intent in a declarative way and then using a consistent workflow to drive continuous deployment through application lifecycle.

One of the core goals of Kusion is to build an open, inclusive and vibrant OSS developer community focused on solving real-world application delivery and management problems, sharing the reusable building blocks and best practices.

This repository contains a catalog of community maintained, shared Kusion Module resources, which are designed to be usable out of box.

Catalog Structure

The models/schema directory contains all KCL schema definitions for application developers, and follows the following structure.

    ./schema/v1                   

        /accessories            👈 schema definition for various accessory resources

        /monitoring             👈 schema definition for monitoring e.g. Promethues
        
        /trait                  👈 schema definition for various operation capabilities e.g. OpsRule
        
        /workload               👈 default workload schema definition
        
        app_configuration.k     👈 root AppConfiguration schema definition

Based on the schema definitions, models/samples directory contains plenty of useful sample code. Here is a simple explanation of those samples.

  • hellocollaset - demonstrates how to declare a long-running service, and the workload implementation of this service is Collaset, which is provided by KusionStack Operating.
  • helloworld - also declare a long-running service, with default Kubernetes Deployment workload.
  • pgadmin - declares a cloud provider managed Postgres resource, as well as a long-running service with dpage/pgadmin4:latest image.
  • samplejob - demonstrates how to declare a periodic job.
  • wordpress - declares a cloud provider managed MySQL resource, as well as a long-running service with wordpress:6.3 image.

About

Catalog of shared Kusion Models and Generators.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 89.1%
  • Makefile 10.2%
  • AMPL 0.7%