From 30f6fa86a6ca6a59308f6c3070f0bedb19aafcb3 Mon Sep 17 00:00:00 2001 From: "abby.huang" <78209557+abby-cyber@users.noreply.github.com> Date: Tue, 2 Nov 2021 11:22:35 +0800 Subject: [PATCH 1/2] Update upgrade-nebula-graph-to-260.md (#1147) * Update upgrade-nebula-graph-to-260.md * Update upgrade-nebula-graph-to-260.md --- .../3.upgrade-nebula-graph/upgrade-nebula-graph-to-260.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-260.md b/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-260.md index e2d05e4a79..93d95d0e9f 100644 --- a/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-260.md +++ b/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-260.md @@ -96,13 +96,13 @@ Nebula Graph历史版本指低于Nebula Graph v2.0.0-GA的版本,本文介绍 - clone 源代码 ``` - # git clone --branch v{{nebula.release}} https://github.com/vesoft-inc/nebula-graph.git + # git clone --branch {{nebula.branch}} https://github.com/vesoft-inc/nebula-graph.git ``` - 设置 CMake ``` - # cmake -DCMAKE_INSTALL_PREFIX=${nebula-new} -DENABLE_BUILD_STORAGE=on -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DNEBULA_COMMON_REPO_TAG=v{{nebula.release}} -DNEBULA_STORAGE_REPO_TAG=v{{nebula.release}} .. + # cmake -DCMAKE_INSTALL_PREFIX=${nebula-new} -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release .. ``` 2. 拷贝配置文件。 From 844198ce8dfd1a3df8a2c0b567c140d4f63f2b22 Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Tue, 2 Nov 2021 15:20:53 +0800 Subject: [PATCH 2/2] Update st-ug-deploy-by-helm.md --- .../deploy-connect/st-ug-deploy-by-helm.md | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs-2.0/nebula-studio/deploy-connect/st-ug-deploy-by-helm.md b/docs-2.0/nebula-studio/deploy-connect/st-ug-deploy-by-helm.md index 75262fafb1..8cf4de946d 100644 --- a/docs-2.0/nebula-studio/deploy-connect/st-ug-deploy-by-helm.md +++ b/docs-2.0/nebula-studio/deploy-connect/st-ug-deploy-by-helm.md @@ -1,10 +1,10 @@ -# 使用 Helm 部署 Studio +# 使用Helm部署Studio -本文介绍如何在通过 Kubernetes 集群里用 Helm 来部署并启动 Studio。 +本文介绍如何在Kubernetes中使用Helm部署并启动Studio。 ## 前提条件 -安装 Studio 前,用户需要安装以下软件并确保安装版本的正确性: +安装Studio前,用户需要安装以下软件并确保安装版本的正确性: | 软件 | 版本要求 | | ------------------------------------------------------------ | --------- | @@ -13,7 +13,7 @@ ## 安装 -1. 克隆 Studio 的源代码到主机。 +1. 克隆Studio的源代码到主机。 ```bash $ git clone https://github.com/vesoft-inc/nebula-studio.git @@ -25,13 +25,13 @@ $ cd nebula-studio ``` -3. 安装 Studio 到 Helm Chart,命名为 `my-studio`。 +3. 更新并安装Nebula Graph Studio chart,命名为`my-studio`。 ```bash - $ helm upgrade --install my-studio --set service.type=NodePort --set service.port=30070 deployment/helm + $ helm upgrade --install my-studio --set service.type=NodePort --set service.port={30070} deployment/helm ``` -4. 启动成功后,在浏览器地址栏输入 `http://address-of-node:30070/`。 +4. 启动成功后,在浏览器地址栏输入`http://{address-of-node}:{30070}/`。 如果在浏览器窗口中能看到以下登录界面,表示已经成功部署并启动 Studio。 ![Nebula Graph Studio 登录界面](../figs/st-ug-001-1.png "Nebula Graph Studio 登录界面") @@ -44,23 +44,23 @@ $ helm uninstall my-studio ## 后续操作 -进入 Studio 登录界面后,用户需要连接 Nebula Graph。详细信息,参考[连接数据库](st-ug-connect.md)。 +进入Studio登录界面后,用户需要连接Nebula Graph。详细信息,参考[连接数据库](st-ug-connect.md)。 -## Nebula Graph Studio Chart配置参数说明 +## Nebula Graph Studio chart配置参数说明 | 参数 | 默认值 | 描述 | |:---|:---|:---| | replicaCount | 0 | Deployment的副本数。 | -| image.httpGateway.name | vesoft/nebula-http-gateway | nebula-http-gateway 镜像的仓库地址。 | -| image.nebulaStudio.name | vesoft/nebula-graph-studio | nebula-graph-studio 镜像的仓库地址。 | -| image.nginx.name | nginx | nginx 镜像的仓库地址。 | -| image.httpGateway.version | v2.1.1 | nebula-http-gateway 的版本。 | -| image.nebulaStudio.version | v3.1.0 | nebula-graph-studio 的版本。 | -| image.nginx.version | alpine | nginx 的版本。 | +| image.httpGateway.name | vesoft/nebula-http-gateway | nebula-http-gateway镜像的仓库地址。 | +| image.nebulaStudio.name | vesoft/nebula-graph-studio | nebula-graph-studio镜像的仓库地址。 | +| image.nginx.name | nginx | nginx镜像的仓库地址。 | +| image.httpGateway.version | v2.1.1 | nebula-http-gateway的版本。 | +| image.nebulaStudio.version | v3.1.0 | nebula-graph-studio的版本。 | +| image.nginx.version | alpine | nginx的版本。 | | service.type | ClusterIP | 服务类型,必须为`NodePort`,`ClusterIP`或`LoadBalancer`其中之一。 | -| service.port | 7001 | nebula-graph-studio 中 web 服务的端口。 | -| resources.httpGateway | {} | nebula-http-gateway 的资源限制/请求。 | +| service.port | 7001 | nebula-graph-studio中web服务的端口。 | +| resources.httpGateway | {} | nebula-http-gateway的资源限制/请求。 | | resources.nebulaStudio | {} | nebula-studio的资源限制/请求。 | -| resources.nginx | {} | nginx 的资源限制/请求。 | +| resources.nginx | {} | nginx的资源限制/请求。 | | persistent.storageClassName | "" | storageClass名称,如果不指定就使用默认值。 | | persistent.size | 5Gi | 存储盘大小。 |