From 435d2f83505a1c72a6e1a8faabbe644c90a00df7 Mon Sep 17 00:00:00 2001 From: sudoii <56720445+lvillis@users.noreply.github.com> Date: Mon, 20 Dec 2021 21:53:26 +0800 Subject: [PATCH] docs: Update kk parameters --- README.md | 4 ++-- README_zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e4cfafc7..bc97f935 100644 --- a/README.md +++ b/README.md @@ -225,7 +225,7 @@ Upgrading cluster with a specified version. #### Multi-nodes Upgrading cluster with a specified configuration file. ```shell script -./kk upgrade [--with-kubernetes version] [--with-kubesphere version] [(-f | --file) path] +./kk upgrade [--with-kubernetes version] [--with-kubesphere version] [(-f | --filename) path] ``` * If `--with-kubernetes` or `--with-kubesphere` is specified, the configuration file will be also updated. * Use `-f` to specify the configuration file which was generated for cluster creation. @@ -234,7 +234,7 @@ Upgrading cluster with a specified configuration file. Getting cluster info and generating kubekey's configuration file (optional). ```shell script -./kk create config [--from-cluster] [(-f | --file) path] [--kubeconfig path] +./kk create config [--from-cluster] [(-f | --filename) path] [--kubeconfig path] ``` * `--from-cluster` means fetching cluster's information from an existing cluster. * `-f` refers to the path where the configuration file is generated. diff --git a/README_zh-CN.md b/README_zh-CN.md index b744f769..9fa08d67 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -225,7 +225,7 @@ KubeSphere 有多个可插拔功能组件,功能组件的介绍可参考 [配 #### 多节点集群 通过指定配置文件对集群进行升级。 ```shell script -./kk upgrade [--with-kubernetes version] [--with-kubesphere version] [(-f | --file) path] +./kk upgrade [--with-kubernetes version] [--with-kubesphere version] [(-f | --filename) path] ``` * `--with-kubernetes` 指定kubernetes目标版本。 * `--with-kubesphere` 指定kubesphere目标版本。 @@ -235,7 +235,7 @@ KubeSphere 有多个可插拔功能组件,功能组件的介绍可参考 [配 Getting cluster info and generating kubekey's configuration file (optional). ```shell script -./kk create config [--from-cluster] [(-f | --file) path] [--kubeconfig path] +./kk create config [--from-cluster] [(-f | --filename) path] [--kubeconfig path] ``` * `--from-cluster` 根据已存在集群信息生成配置文件. * `-f` 指定生成配置文件路径.