Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator-publish-1.4.2 #2718

Merged
merged 1 commit into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ NebulaGraph Operator 不支持 v1.x 版本的 NebulaGraph,其与 NebulaGraph

| NebulaGraph 版本 |NebulaGraph Operator 版本 |
| ------------------- | ---------------- |
| 3.0.0 ~ 3.4.1 |1.3.0、1.4.0|
| 3.0.0 ~ 3.4.1 |1.3.0、1.4.0 ~ 1.4.2|
| 3.0.0 ~ 3.3.x |1.0.0、1.1.0、1.2.0|
| 2.5.x ~ 2.6.x |0.9.0|
| 2.5.x |0.8.0|
Expand Down
6 changes: 3 additions & 3 deletions docs-2.0/nebula-operator/2.deploy-nebula-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@

### 安装 NebulaGraph Operator

1. 添加 NebulaGraph Operator chart 仓库至 Helm。
1. 添加 NebulaGraph Operator Helm 仓库

```bash
helm repo add nebula-operator https://vesoft-inc.github.io/nebula-operator/charts
```

2. 拉取最新的 Helm 仓库。
2. 拉取最新的 Operator Helm 仓库。

```bash
helm repo update
Expand All @@ -53,7 +53,7 @@

- 上述命令中的`nebula-operator-system`为用户创建的命名空间。如果用户未创建该命名空间,可以执行`kubectl create namespace nebula-operator-system`进行创建。用户也可创建其他命名空间。

- `{{operator.release}}`为 NebulaGraph Operator chart 的版本。当 Chart 中只有一个默认版本时,可不指定。执行`helm search repo -l nebula-operator`查看 Chart 版本。
- `{{operator.release}}`为 NebulaGraph Operator chart 的版本,不指定`--version`时默认使用最新版的 Operator chart。执行`helm search repo -l nebula-operator`查看 Operator chart 版本。


用户可在执行安装 NebulaGraph Operator chart 命令时自定义其配置。更多信息,查看下文**自定义配置 Chart**。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

## 创建 NebulaGraph 集群

1. 添加 NebulaGraph Operator chart 仓库至 Helm(如已创添加,略过前面 1 至 2 步,从第 3 步开始执行)。
1. 添加 NebulaGraph Operator Helm 仓库

```bash
helm repo add nebula-operator https://vesoft-inc.github.io/nebula-operator/charts
Expand All @@ -29,12 +29,12 @@
helm repo update
```

3. 配置 Helm 的环境变量
3. 为安装集群所需的配置参数设置环境变量

```bash
export NEBULA_CLUSTER_NAME=nebula # NebulaGraph 集群的名字。
export NEBULA_CLUSTER_NAMESPACE=nebula # NebulaGraph 集群所处的命名空间的名字。
export STORAGE_CLASS_NAME=fast-disks # NebulaGraph 集群的 StorageClass。
export STORAGE_CLASS_NAME=fast-disks # NebulaGraph 集群所使用的 StorageClass 的名字
```

4. 为 NebulaGraph 集群创建命名空间(如已创建,略过此步)。
Expand Down Expand Up @@ -71,6 +71,7 @@
--namespace="${NEBULA_CLUSTER_NAMESPACE}" \
--set nameOverride=${NEBULA_CLUSTER_NAME} \
--set nebula.storageClassName="${STORAGE_CLASS_NAME}"
--version={{operator.release}} # 指定 NebulaGraph 集群的版本,不指定则默认安装最新版本。

```

Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ extra:
branch: release-1.2
tag: v1.2.0
operator:
release: 1.4.0
tag: v1.4.0
release: 1.4.2
tag: v1.4.2
branch: release-1.4
upgrade_from: 3.0.0
upgrade_to: 3.4.0
Expand Down