You are viewing development documentation built from the latest commit on main (last tag v0.2.0-rc.2, source commit 25e1a892).
APIs and features are subject to change.
Concepts
Understand the ideas behind Kure’s design.
- Architecture - System architecture and component overview
- Domain Model - The Cluster, Node, Bundle, Application hierarchy
- Builder Contract - Building an object, when sugar exists, reading the maturity table
- Design Philosophy - The upstream type over templating, GitOps-native output
- Package Status - What is supported, limited, consumer-provided, not implemented or only proposed
- Layout and Flux Naming - How directories, files and Flux objects are named
- OCI Artifact Layout - The directory shape of an OCI artifact and what Kure does to produce it
How the kure and launcher models relate
kure and go-kure/launcher are two projects with two models, and both use the word Application for something different.
| kure | launcher | |
|---|---|---|
| What it is | A Go library | An OAM-native package manager; its command line is kurel |
| Its model | Cluster, Node, Bundle, Application: Go types in pkg/stack | Application, ClusterProfile and Package documents, written in YAML |
| What an Application is | A Go struct with a name, a namespace and an ApplicationConfig that you implement to generate Kubernetes objects | A YAML document of kind Application in the API group launcher.gokure.dev/v1alpha1 |
| When it runs | In your build, which writes plain YAML | At compile time, in your build or pipeline, when a package config and a site config are resolved into static manifests. No launcher component runs in the cluster |
The launcher.gokure.dev/v1alpha1 API is launcher’s own. OAM inspired it, and it is not
core.oam.dev/v1beta1: launcher does not claim compatibility with that API. launcher uses kure to
generate Kubernetes resources. The launcher documents describe launcher’s model; start with its
design document
.