From 634fe25aa085586dc34b6373e4d7f129997a3ac5 Mon Sep 17 00:00:00 2001 From: "abby.huang" <78209557+abby-cyber@users.noreply.github.com> Date: Fri, 24 Nov 2023 18:39:23 +0800 Subject: [PATCH] operator-release-1.7.3 (#2371) * operator-release-1.7.3 * comment fix --- .../3.3.upgrade-operator.md | 19 ++++++++++++++++--- .../3.3.upgrade-operator.md | 19 ++++++++++++++++--- mkdocs.yml | 4 ++-- 3 files changed, 34 insertions(+), 8 deletions(-) diff --git a/docs-2.0-en/k8s-operator/3.operator-management/3.3.upgrade-operator.md b/docs-2.0-en/k8s-operator/3.operator-management/3.3.upgrade-operator.md index ad94b75bf3c..bc4ff9e35f5 100644 --- a/docs-2.0-en/k8s-operator/3.operator-management/3.3.upgrade-operator.md +++ b/docs-2.0-en/k8s-operator/3.operator-management/3.3.upgrade-operator.md @@ -26,7 +26,20 @@ helm repo update ``` -3. Upgrade NebulaGraph Operator to version {{operator.release}}. +3. View the latest version of NebulaGraph Operator. + + ```bash + helm search repo nebula-operator/nebula-operator + ``` + + Example output: + + ```bash + NAME CHART VERSION APP VERSION DESCRIPTION + nebula-operator/nebula-operator {{operator.release}} {{operator.release}} Nebula Operator Helm chart for Kubernetes + ``` + +4. Upgrade NebulaGraph Operator to version {{operator.release}}. ```bash helm upgrade nebula-operator nebula-operator/nebula-operator --namespace= --version={{operator.release}} @@ -52,7 +65,7 @@ NebulaGraph Operator installed! ``` -4. Pull the latest CRD configuration file. +5. Pull the latest CRD configuration file. !!! note You need to upgrade the corresponding CRD configurations after NebulaGraph Operator is upgraded. Otherwise, the creation of NebulaGraph clusters will fail. For information about the CRD configurations, see [apps.nebula-graph.io_nebulaclusters.yaml](https://github.com/vesoft-inc/nebula-operator/blob/{{operator.tag}}/config/crd/bases/apps.nebula-graph.io_nebulaclusters.yaml). @@ -76,7 +89,7 @@ - `-C /tmp`: If not specified, the chart files will be unpacked to the current directory. -5. Upgrade the CRD configuration file in the `nebula-operator` directory. +6. Apply the latest CRD configuration file in the `nebula-operator` directory. ```bash kubectl apply -f crds/nebulaclusters.yaml diff --git a/docs-2.0-zh/k8s-operator/3.operator-management/3.3.upgrade-operator.md b/docs-2.0-zh/k8s-operator/3.operator-management/3.3.upgrade-operator.md index 472e8c5ed49..947528a1033 100644 --- a/docs-2.0-zh/k8s-operator/3.operator-management/3.3.upgrade-operator.md +++ b/docs-2.0-zh/k8s-operator/3.operator-management/3.3.upgrade-operator.md @@ -28,7 +28,20 @@ helm repo update ``` -3. 升级 NebulaGraph Operator 至 {{operator.release}} 版本。 +3. 查看最新的 NebulaGraph Operator 版本。 + + ```bash + helm search repo nebula-operator/nebula-operator + ``` + + 返回示例: + + ```bash + NAME CHART VERSION APP VERSION DESCRIPTION + nebula-operator/nebula-operator {{operator.release}} {{operator.release}} Nebula Operator Helm chart for Kubernetes + ``` + +4. 升级 NebulaGraph Operator 至 {{operator.release}} 版本。 ```bash helm upgrade nebula-operator nebula-operator/nebula-operator --namespace= --version={{operator.release}} @@ -54,7 +67,7 @@ NebulaGraph Operator installed! ``` -4. 拉取最新的 CRD 配置文件。 +5. 拉取最新的 CRD 配置文件。 !!! note @@ -80,7 +93,7 @@ - `-C /tmp`: 如不指定,则默认解压至当前路径。 -5. 在`nebula-operator`目录下升级 CRD 配置文件。 +6. 在`nebula-operator`目录下应用最新的 CRD 配置文件。 ```bash kubectl apply -f crds/nebulaclusters.yaml diff --git a/mkdocs.yml b/mkdocs.yml index 26240d12ce8..33f5d0de163 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -265,8 +265,8 @@ extra: branch: release-1.2 tag: v1.2.0 operator: - release: 1.7.2 - tag: v1.7.2 + release: 1.7.3 + tag: v1.7.3 branch: release-1.7 upgrade_from: 3.5.0 upgrade_to: 3.6.0