kusionstack / kusionstack.io Goto Github PK
View Code? Open in Web Editor NEWSource for kusionstack.io site
Home Page: https://kusionstack.io
License: Apache License 2.0
Source for kusionstack.io site
Home Page: https://kusionstack.io
License: Apache License 2.0
There needs to be a standard file to standardize git branch naming, commit message format, etc.
support multi version doc
https://kusionstack.io/ search can not work
KCL VS Code plugin quick start documentation lacks description of KCL icon modification. For example:
Since KCL and Kusion is not open source yet, we cannot publish the KCL icon to popular Icon themes, such as Seti and vscode-icons. The workaround steps will be:
Use vscode-icons file icon theme.
download kcl file icon from <The todo link>
then copy the kcl icon file to ~/Library/Application\ Support/Code/User/vsicons-custom-icons, using following command:
mkdir -p ~/Library/Application\ Support/Code/User/vsicons-custom-icons
cp <the kcl icon you just download> ~/Library/Application\ Support/Code/User/vsicons-custom-icons/file_type_kcl.svg
cp <the kcl icon you just download> ~/Library/Application\ Support/Code/User/vsicons-custom-icons/file_type_light_kcl.svg
finally add the vsicons.associations.files option to your vscode settings, save your settings and the KCL file icon will be displayed on your *.k files, then reload you vscode-icons theme:
"vsicons.associations.files": [
{
"icon": "kcl",
"extensions": ["k"],
"format": "svg",
"light": true,
}
],
in page drift-check-with-argocd, those two critical patch body were hard code in text, we'd better use online file to trace changes
New users of KusionStack can be grouped as following types:
So we need reorganize user guides
docs for fluent developing experience.
Add some usage documents:
Add comments in Konfig code:
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem? Please describe:
the kusionstack website lacks guides about how to use kusion's secret management tools.
And when the document is provided, please complete that doc information in:
docs/user_docs/getting-started/usecases/deliver-hybrid-resources-project.md:
Alternatively, Kusion provides a sensitive data management tool for handling the AccessKey and SecretKey mentioned above. For detailed guidance, please refer to the [kusion secret management documentation](the doc link)
i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/getting-started/usecases/deliver-hybrid-resources-project.md:
此外,Kusion 还提供敏感数据管理工具,用以加密存储上述提到的 AccessKey 和 SecretKey。详细指导请参阅[Kusion 敏感信息管理指南](the doc link)
the drawio file is missing, we should add source file for images.
edit the drawio at first, then output the image
Enhance home page with more user-side info. A typical example with 6 parts can be:
概念
Project 是一个抽象概念,有明确的业务语意,可以映射一个应用,也可以映射成一种运维场景;
Stack 是一组可以独立部署、单独配置的 KCL 程序,是可以部署为一组基础设施实体的最小配置单元;
映射关系
云原生场景:应用和集群
单租户场景:应用和环境
多租户场景:应用和环境
实践
按照上面映射关系的推荐,问题中提到的三级对象,可以互相嵌套:
应用是关注的核心对象,环境与集群是应用的描述属性,是多对多关系,也就是存在多种环境(dev/test/prod...),每个环境中有多个集群(clusterA/clusterB),可以在大库的 Project 的目录结构中增加一级,如下所示:
app
├── dev
│ ├── clusterA
│ │ ├── ci-test
│ │ │ ├── settings.yaml
│ │ │ └── stdout.golden.yaml
│ │ ├── kcl.yaml
│ │ ├── main.k
│ │ └── stack.yaml
│ └── clusterB
│ ├── ci-test
│ │ ├── settings.yaml
│ │ └── stdout.golden.yaml
│ ├── kcl.yaml
│ ├── main.k
│ └── stack.yaml
├── prod
├── test
└── project.yaml
假设应用A依赖应用B.field_b
// App A
attributes:
field: $kusion_path.app_b.field_b
id: app_a
dependsOn:
- app_b
// App B
attributes:
field_b: xxxxx
id: app_b
// App A
attributes:
field: $kusion_path.app_b_config.field_b
id: app_a
dependsOn:
- app_b_config
// App B Config
attributes:
field_b: xxxxx
id: app_b_config
KusionStack 在开源之前采用了 MonoRepo 的单一大库模式(全部的配置在一个仓库)。大库模式的优点配置依赖不会出现版本冲突问题,可以在一次变更提交中批量修改配置变更。大库模式也是Google等公司内部实践,比较适合企业内部配置方便统一管理的场景。
但是,单一大库模式不太适合开源社区的去中心化的配置管理。作为一个开源工具,用户自然希望能过基于Konfig中心的模型配置仓库再扩展出自己的定制配置仓库。目前,一个临时的方案是基于Konfig克隆版本,然后新建一个独立子 org/app
目录作为组织下app的配置管理。
KusionStack 同时也在设计包管理工具,希望KCL语言能够提供内置包工具兼容集中式和分布式的配置模块管理。同时也欢迎提供不同的反馈或设计方案。
有,最基本的方式就是通过 git diff
定位修改文件列表。但修改的文件可能是公共配置,被一个或多个应用的所依赖,kusion 提供 kusion deps
子命令,用于分析依赖关系。
kusion watch 子命令提供相关能力,此功能目前还在开发中,预计下个版本发布。
目前回滚操作,主要是借助 git revert + kusion apply 的方式。关于 kusion 本身的 Transaction 能力,这块也在我们的规划范围内。
kusion 会提供相关接口,可以与开源 Identity 平台对接;对于内部私有的可信平台,也会提供扩展机制,用来集成。总体来说,kusion 不负责权限的具体范围,只确定操作的 Allow or Deny。
如上个回答所示,kusion 没有对接 Identity 平台之前,是人人可操作的;对接 Identity 平台后,由 Identity 平台负责权限划分。
There are several web IDE products, which have the ability to provide both the online-coding and a container created from the custom image:
I‘ve verified the feasibility through Antgroup's cloud IDE, and here's the result:
add image drawio source file
Project Best Practice
to something like 'Dev in Konfig' with all related matters?We can enhance 'Dev in Konfig' with users' input and questions we already know.
More Info: KusionStack/konfig#30
prismJS is a lightweight syntax highlighter built in JS: https://github.com/PrismJS/prism
https://prismjs.com/
docs: refactor KCL error and warning docs.
https://www.deadlinkchecker.com/
Example dead links:
Need to make key additions on features and scenes.
Index
is a record of the algolia search engine (similar to a database). Now it is relying on manual crawlers to build. This process needs to be added to github action to automatically trigger the crawler when the website is updated.
Please answer these questions before submitting your issue. Thanks!
Now, there is only a search bar on the kusionstack.io website, but the function of docsearch is not implemented.
Need to crawl the site and integrate the search engine.
KusionStack codifies and unifies platform resources into stacked models and polices.
s/polices/policies
Orchestrate and provision on Kubernetes and Clouds in a managed manner
Orchestration and provision
Please answer these questions before submitting your issue. Thanks!
scoop add bucket KusionStack https://github.com/KusionStack/scoop-bucket.git
We need to clarify typical ops workflows to end users.
For example:
Manual operation workflow: Login -> Preview -> Apply -> Watch -> ...
Github automation workflow: PR -> CI -> CD -> ..
remove deploy branch, enable deploy action on main branch
users:
when konfig repo changed, action auto generate konfig doc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.