From e1754250bd4d40446f274c05c12be075d836fa77 Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Fri, 24 Sep 2021 18:57:21 +0800 Subject: [PATCH 1/2] updates Co-Authored-By: randomJoe211 <69501902+randomJoe211@users.noreply.github.com> --- .../4.connect-to-nebula-graph-service.md | 12 ++++++------ docs-2.0/nebula-operator/5.operator-failover.md | 2 +- .../nebula-operator/6.get-started-with-operator.md | 9 ++++++--- docs-2.0/nebula-operator/7.operator-faq.md | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/docs-2.0/nebula-operator/4.connect-to-nebula-graph-service.md b/docs-2.0/nebula-operator/4.connect-to-nebula-graph-service.md index 61644190d3..b363ea9bc4 100644 --- a/docs-2.0/nebula-operator/4.connect-to-nebula-graph-service.md +++ b/docs-2.0/nebula-operator/4.connect-to-nebula-graph-service.md @@ -15,7 +15,7 @@ ```bash $ kubectl get service -l app.kubernetes.io/cluster= #为变量值,请用实际集群名称替换。 NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE - nebula-graphd-svc ClusterIP 10.10.1.2 9669/TCP,19669/TCP,19670/TCP 23h + nebula-graphd-svc ClusterIP 10.98.213.34 9669/TCP,19669/TCP,19670/TCP 23h nebula-metad-headless ClusterIP None 9559/TCP,19559/TCP,19560/TCP 23h nebula-storaged-headless ClusterIP None 9779/TCP,19779/TCP,19780/TCP,9778/TCP 23h ``` @@ -25,13 +25,13 @@ 2. 使用上述`-graphd-svc` Service的IP连接Nebula Graph数据库: ```bash - kubectl run -ti --image vesoft/nebula-console:v2.5.0 --restart=Never -- -addr <10.10.1.2> -port 9669 -u -p + kubectl run -ti --image vesoft/nebula-console:v2.5.0 --restart=Never -- -addr <10.98.213.34> -port 9669 -u -p ``` - `--image`:为连接Nebula Graph的工具Nebula Console的镜像。 - ``:自定义的Pod名称。 - - `-addr`:连接的graphd服务的IP地址,即`ClusterIP`类型的Service IP地址。 - - `-port`:连接graphd服务的端口。默认端口为9669。 + - `-addr`:连接的Graphd服务的IP地址,即`ClusterIP`类型的Service IP地址。 + - `-port`:连接Graphd服务的端口。默认端口为9669。 - `-u`:Nebula Graph账号的用户名。未启用身份认证时,可以使用任意已存在的用户名(默认为root)。 - `-p`:用户名对应的密码。未启用身份认证时,密码可以填写任意字符。 @@ -109,8 +109,8 @@ kubectl run -ti --image vesoft/nebula-console:v2.5.0 --restart=Never -- 9669/TCP,19669/TCP,19670/TCP 23h - nebula-graphd-svc-nodeport NodePort 10.20.1.2 9669:32236/TCP,19669:31674/TCP,19670:31057/TCP 24h + nebula-graphd-svc ClusterIP 10.98.213.34 9669/TCP,19669/TCP,19670/TCP 23h + nebula-graphd-svc-nodeport NodePort 10.107.153.129 9669:32236/TCP,19669:31674/TCP,19670:31057/TCP 24h nebula-metad-headless ClusterIP None 9559/TCP,19559/TCP,19560/TCP 23h nebula-storaged-headless ClusterIP None 9779/TCP,19779/TCP,19780/TCP,9778/TCP 23h ``` diff --git a/docs-2.0/nebula-operator/5.operator-failover.md b/docs-2.0/nebula-operator/5.operator-failover.md index b4e44cd218..5b69940abe 100644 --- a/docs-2.0/nebula-operator/5.operator-failover.md +++ b/docs-2.0/nebula-operator/5.operator-failover.md @@ -34,4 +34,4 @@ Nebula Operator调用Nebula Graph集群提供的接口,动态地感知服务 nebula-cluster-storaged-2 1/1 Running 0 4m2s ... ``` -当`-storaged-2`的状态由`ContainerCreating`变为`Running`时,说明成功转移故障。 +当`-storaged-2`的状态由`ContainerCreating`变为`Running`时,说明自愈成功。 diff --git a/docs-2.0/nebula-operator/6.get-started-with-operator.md b/docs-2.0/nebula-operator/6.get-started-with-operator.md index a36d658f40..e093730935 100644 --- a/docs-2.0/nebula-operator/6.get-started-with-operator.md +++ b/docs-2.0/nebula-operator/6.get-started-with-operator.md @@ -2,6 +2,9 @@ 使用Nebula Operator访问Nebula Graph集群服务的流程如下: -1. [安装Nebula Operator](2.deploy-nebula-operator.md) -2. 创建Nebula Graph集群。具体步骤参考[使用Kubectl部署Nebula Graph集群](3.deploy-nebula-graph-cluster/3.1create-cluster-with-kubectl.md)或者[使用Helm部署Nebula Graph集群](3.deploy-nebula-graph-cluster/3.2create-cluster-with-helm.md)。 -3. [连接Nebula Graph服务](4.connect-to-nebula-graph-service.md) \ No newline at end of file +1. [安装Nebula Operator](2.deploy-nebula-operator.md)。 +2. 创建Nebula Graph集群。 + + 具体步骤参考[使用Kubectl部署Nebula Graph集群](3.deploy-nebula-graph-cluster/3.1create-cluster-with-kubectl.md)或者[使用Helm部署Nebula Graph集群](3.deploy-nebula-graph-cluster/3.2create-cluster-with-helm.md)。 + +3. [连接Nebula Graph服务](4.connect-to-nebula-graph-service.md)。 \ No newline at end of file diff --git a/docs-2.0/nebula-operator/7.operator-faq.md b/docs-2.0/nebula-operator/7.operator-faq.md index 06264946cc..3fefd19326 100644 --- a/docs-2.0/nebula-operator/7.operator-faq.md +++ b/docs-2.0/nebula-operator/7.operator-faq.md @@ -4,7 +4,7 @@ 不支持,因为v1.x版本的Nebula Graph不支持DNS,而Nebula Operator需要使用DNS。 -## 是否支持升级Nebula Operator操作? +## Nebula Operator是否支持滚动升级Nebula Graph? 暂不支持。 From 370ceaf4e368c4ae8b33a9391da26ed4355237bb Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Fri, 24 Sep 2021 19:04:13 +0800 Subject: [PATCH 2/2] updates Co-Authored-By: randomJoe211 <69501902+randomJoe211@users.noreply.github.com> --- docs-2.0/nebula-operator/6.get-started-with-operator.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-2.0/nebula-operator/6.get-started-with-operator.md b/docs-2.0/nebula-operator/6.get-started-with-operator.md index e093730935..a4f3aeea9c 100644 --- a/docs-2.0/nebula-operator/6.get-started-with-operator.md +++ b/docs-2.0/nebula-operator/6.get-started-with-operator.md @@ -5,6 +5,6 @@ 1. [安装Nebula Operator](2.deploy-nebula-operator.md)。 2. 创建Nebula Graph集群。 - 具体步骤参考[使用Kubectl部署Nebula Graph集群](3.deploy-nebula-graph-cluster/3.1create-cluster-with-kubectl.md)或者[使用Helm部署Nebula Graph集群](3.deploy-nebula-graph-cluster/3.2create-cluster-with-helm.md)。 + 具体步骤参考[使用Kubectl部署Nebula Graph集群](3.deploy-nebula-graph-cluster/3.1create-cluster-with-kubectl.md)或者[使用Helm部署Nebula Graph集群](3.deploy-nebula-graph-cluster/3.2create-cluster-with-helm.md)。 -3. [连接Nebula Graph服务](4.connect-to-nebula-graph-service.md)。 \ No newline at end of file +1. [连接Nebula Graph服务](4.connect-to-nebula-graph-service.md)。 \ No newline at end of file