From 0d2a4c041c7f6b40d9509f01e8de225fe9770d2c Mon Sep 17 00:00:00 2001 From: lsy3993 Date: Wed, 22 Apr 2026 22:01:48 +0800 Subject: [PATCH 1/2] fix: add missing 'apply' in kubectl command for config-cg.md docs Fix kubectl command in three config-cg.md files (current, version-3.x, version-4.x) by adding the missing 'apply' subcommand. Co-Authored-By: Claude Opus 4.7 --- .../separating-storage-compute/config-cg.md | 2 +- .../separating-storage-compute/config-cg.md | 2 +- .../separating-storage-compute/config-cg.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md index 9836baa3578a7..185970fd19b1e 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md @@ -134,7 +134,7 @@ spec: 2. 部署 ConfigMap 使用如下命令将自定义启动配置信息的 ConfigMap 部署到 Kubernetes 集群中: ```shell - kubectl -n ${namespace} -f ${beConfigMapFileName}.yaml + kubectl apply -n ${namespace} -f ${beConfigMapFileName}.yaml ``` `${namespace}` 为 `DorisDisaggregatedCluster` 部署的命名空间,${beConfigMapFileName} 为包含自定义 ConfigMap 的文件名称。 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md index 781940c7cbcca..607f0f92b843c 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md @@ -134,7 +134,7 @@ spec: 2. 部署 ConfigMap 使用如下命令将自定义启动配置信息的 ConfigMap 部署到 Kubernetes 集群中: ```shell - kubectl -n ${namespace} -f ${beConfigMapFileName}.yaml + kubectl apply -n ${namespace} -f ${beConfigMapFileName}.yaml ``` `${namespace}` 为 `DorisDisaggregatedCluster` 部署的命名空间,${beConfigMapFileName} 为包含自定义 ConfigMap 的文件名称。 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md index 9836baa3578a7..185970fd19b1e 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md @@ -134,7 +134,7 @@ spec: 2. 部署 ConfigMap 使用如下命令将自定义启动配置信息的 ConfigMap 部署到 Kubernetes 集群中: ```shell - kubectl -n ${namespace} -f ${beConfigMapFileName}.yaml + kubectl apply -n ${namespace} -f ${beConfigMapFileName}.yaml ``` `${namespace}` 为 `DorisDisaggregatedCluster` 部署的命名空间,${beConfigMapFileName} 为包含自定义 ConfigMap 的文件名称。 From a50f87fa1f59c98d4d651f079726da5562ca4cce Mon Sep 17 00:00:00 2001 From: lsy3993 Date: Wed, 22 Apr 2026 22:25:23 +0800 Subject: [PATCH 2/2] fix: add missing 'apply' in kubectl command for config-cg.md docs Fix kubectl command from 'kubectl -n ${namespace} -f' to 'kubectl apply -n ${namespace} -f' in the following files: - docs/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md - versioned_docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md - versioned_docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md - ja-source/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md - ja-source/docusaurus-plugin-content-docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md - ja-source/docusaurus-plugin-content-docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md Co-Authored-By: Claude Opus 4.7 --- .../separating-storage-compute/config-cg.md | 2 +- .../separating-storage-compute/config-cg.md | 2 +- .../separating-storage-compute/config-cg.md | 2 +- .../separating-storage-compute/config-cg.md | 2 +- .../separating-storage-compute/config-cg.md | 2 +- .../separating-storage-compute/config-cg.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md b/docs/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md index 3810d8fa19528..a7362d5ec855d 100644 --- a/docs/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md +++ b/docs/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md @@ -139,7 +139,7 @@ spec: 2. Deploy the ConfigMap Use the following command to deploy the custom ConfigMap containing the startup configuration to the Kubernetes cluster: ```yaml - kubectl -n ${namespace} -f ${beConfigMapFileName}.yaml + kubectl apply -n ${namespace} -f ${beConfigMapFileName}.yaml ``` Here, `${namespace}` is the namespace where the `DorisDisaggregatedCluster` is deployed, and `${beConfigMapFileName}` is the name of the file containing the custom ConfigMap. diff --git a/ja-source/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md b/ja-source/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md index 43fe559f49fdf..6643e3180c95a 100644 --- a/ja-source/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md +++ b/ja-source/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md @@ -145,7 +145,7 @@ spec: 以下のコマンドを使用して、スタートアップ設定を含むカスタムConfigMapをKubernetesクラスターにデプロイします: ```yaml - kubectl -n ${namespace} -f ${beConfigMapFileName}.yaml + kubectl apply -n ${namespace} -f ${beConfigMapFileName}.yaml ``` ここで、`${namespace}` は `DorisDisaggregatedCluster` がデプロイされる名前空間であり、`${beConfigMapFileName}` はカスタムConfigMapを含むファイルの名前です。 diff --git a/ja-source/docusaurus-plugin-content-docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md b/ja-source/docusaurus-plugin-content-docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md index a26d5cfb2bd30..b4ea522394455 100644 --- a/ja-source/docusaurus-plugin-content-docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md +++ b/ja-source/docusaurus-plugin-content-docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md @@ -145,7 +145,7 @@ spec: 以下のコマンドを使用して、スタートアップ設定を含むカスタムConfigMapをKubernetesクラスターにデプロイします: ```yaml - kubectl -n ${namespace} -f ${beConfigMapFileName}.yaml + kubectl apply -n ${namespace} -f ${beConfigMapFileName}.yaml ``` ここで、`${namespace}` は `DorisDisaggregatedCluster` がデプロイされる名前空間であり、`${beConfigMapFileName}` はカスタム ConfigMap を含むファイルの名前です。 diff --git a/ja-source/docusaurus-plugin-content-docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md b/ja-source/docusaurus-plugin-content-docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md index 43fe559f49fdf..6643e3180c95a 100644 --- a/ja-source/docusaurus-plugin-content-docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md +++ b/ja-source/docusaurus-plugin-content-docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md @@ -145,7 +145,7 @@ spec: 以下のコマンドを使用して、スタートアップ設定を含むカスタムConfigMapをKubernetesクラスターにデプロイします: ```yaml - kubectl -n ${namespace} -f ${beConfigMapFileName}.yaml + kubectl apply -n ${namespace} -f ${beConfigMapFileName}.yaml ``` ここで、`${namespace}` は `DorisDisaggregatedCluster` がデプロイされる名前空間であり、`${beConfigMapFileName}` はカスタムConfigMapを含むファイルの名前です。 diff --git a/versioned_docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md b/versioned_docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md index b6ab9b3fe83eb..b019f18dfb21a 100644 --- a/versioned_docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md +++ b/versioned_docs/version-3.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md @@ -139,7 +139,7 @@ spec: 2. Deploy the ConfigMap Use the following command to deploy the custom ConfigMap containing the startup configuration to the Kubernetes cluster: ```yaml - kubectl -n ${namespace} -f ${beConfigMapFileName}.yaml + kubectl apply -n ${namespace} -f ${beConfigMapFileName}.yaml ``` Here, `${namespace}` is the namespace where the `DorisDisaggregatedCluster` is deployed, and `${beConfigMapFileName}` is the name of the file containing the custom ConfigMap. diff --git a/versioned_docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md b/versioned_docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md index 3810d8fa19528..a7362d5ec855d 100644 --- a/versioned_docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md +++ b/versioned_docs/version-4.x/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md @@ -139,7 +139,7 @@ spec: 2. Deploy the ConfigMap Use the following command to deploy the custom ConfigMap containing the startup configuration to the Kubernetes cluster: ```yaml - kubectl -n ${namespace} -f ${beConfigMapFileName}.yaml + kubectl apply -n ${namespace} -f ${beConfigMapFileName}.yaml ``` Here, `${namespace}` is the namespace where the `DorisDisaggregatedCluster` is deployed, and `${beConfigMapFileName}` is the name of the file containing the custom ConfigMap.