v0.9.0
What’s Changed
Feature
AppConfiguration Revamp
Introducing the new declarative application configuration model - AppConfiguration
! It is replacing the Server
model in the past versions. We have received numerous feedback in the past that it's challenging to get the ball rolling with KusionStack. So we have revamped the mechanism significantly.
The AppConfiguration model intends to eventually cover application delivery and operational needs in its full lifecycle. Currently, we have introduced the ability to configure workloads, networking, database, monitoring, basic operational rules, etc. We will continuously iterate and extend the capability of AppConfiguration to carry out our vision.
The design document can be found here
KCL is still the choice of configuration language for the AppConfiguration model. KCL has advantages when authoring a complex configuration file with some of its core features such as abstraction and validations capabilities. The logic to render the application abstraction model to the infrastructure manifests are now written in go.
Monitoring via Prometheus
Introducing the capability to configure application monitoring as part of AppConfiguration model. You can now customize the scraping behavior via the monitoring
field.
More Cloud Resources
We have added better support for more cloud resources such as CLB, RDS on AWS and AliCloud. They can be provisioned at your fingertip as part of the AppConfiguration model.
Spec as input
In Kusion terminology, spec
is the infrastructure specification that is generated by Kusion from the user-facing input. It represents the declarative intent from the user. Kusion now supports using the spec
as an input to the preview and apply subcommand. This enables the integration and version control of declarative intent for the platform users.
Bug fixes
- Fixed an issue where preview command unexpected fails under circumstances caused by incorrect resource dependency
- Fixed an issue where error messages are not specific enough after failing to initialize the runtime
Deprecations
- The
Konfig
repository has now been revamped into a samples repository. The schemas for AppConfiguration model will be managed in theCatalog
repository. - The output of
kusion compile
is now in the completespec
format.
Docker Images
kusionstack/kusion:v0.9.0
Dependent version
- kcl-go:
v0.6.0-alpha.1
- kcl-plugin:
v0.5.0