Skip to content

Commit

Permalink
chore: change kcl tool integration blog to 2023.12.19
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Dec 19, 2023
1 parent dc0f7c2 commit 8a9d592
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: 2023-12-18-how-to-apply-kcl-config-to-cluster
slug: 2023-12-19-how-to-apply-kcl-config-to-cluster
title: How to Apply KCL Configuration to Cluster
authors:
name: KCL Team Member
Expand All @@ -15,7 +15,7 @@ tags: [KCL, KubeVela]

## Several Ways to Deploy KCL Configuration to a cluster

![cloud-native-tool-integration](/img/blog/2023-12-18-how-to-apply-kcl-config-to-cluster/cloud-native-tool-integration.png)
![cloud-native-tool-integration](/img/blog/2023-12-19-how-to-apply-kcl-config-to-cluster/cloud-native-tool-integration.png)

Since KCL can output YAML/JSON files, theoretically, any method that supports deploying YAML/JSON configurations to a cluster can be used to deploy KCL configurations. Usually, KCL files are stored in Git or Module Registry for easy sharing among different roles and teams. However, KCL can do much more than that, and the main ways to deploy KCL configurations to a cluster are as follows.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: 2023-12-18-how-to-apply-kcl-config-to-cluster
slug: 2023-12-19-how-to-apply-kcl-config-to-cluster
title: 如何将 KCL 代码部署到集群?
authors:
name: KCL 团队
Expand All @@ -15,7 +15,7 @@ tags: [KCL]

## 将 KCL 配置部署到集群的几种方式

![cloud-native-tool-integration](/img/blog/2023-12-18-how-to-apply-kcl-config-to-cluster/cloud-native-tool-integration.png)
![cloud-native-tool-integration](/img/blog/2023-12-19-how-to-apply-kcl-config-to-cluster/cloud-native-tool-integration.png)

因为 KCL 本身可以输出为 YAML/JSON 文件,因此理论上支持将 YAML/JSON 配置部署到集群的方式,都可以将 KCL 配置部署到集群,通常我们将 KCL 文件放在 Git 或者 Module Registry 中保存方便与不同的角色和团队之间共享配置,但是 KCL 可以做到的远不止这些,这里将可以将 KCL 配置部署到的集群主要分为如下几种情况。

Expand Down

0 comments on commit 8a9d592

Please sign in to comment.