Skip to content

Commit

Permalink
Updates after publish for master (#1004)
Browse files Browse the repository at this point in the history
* updates

Co-Authored-By: randomJoe211 <[email protected]>

* updates

Co-Authored-By: randomJoe211 <[email protected]>

Co-authored-by: randomJoe211 <[email protected]>
  • Loading branch information
abby-cyber and randomJoe211 authored Sep 24, 2021
1 parent 037fcce commit 81b3127
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
12 changes: 6 additions & 6 deletions docs-2.0/nebula-operator/4.connect-to-nebula-graph-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
```bash
$ kubectl get service -l app.kubernetes.io/cluster=<nebula> #<nebula>为变量值,请用实际集群名称替换。
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
nebula-graphd-svc ClusterIP 10.10.1.2 <none> 9669/TCP,19669/TCP,19670/TCP 23h
nebula-graphd-svc ClusterIP 10.98.213.34 <none> 9669/TCP,19669/TCP,19670/TCP 23h
nebula-metad-headless ClusterIP None <none> 9559/TCP,19559/TCP,19560/TCP 23h
nebula-storaged-headless ClusterIP None <none> 9779/TCP,19779/TCP,19780/TCP,9778/TCP 23h
```
Expand All @@ -25,13 +25,13 @@
2. 使用上述`<cluster-name>-graphd-svc` Service的IP连接Nebula Graph数据库:

```bash
kubectl run -ti --image vesoft/nebula-console:v2.5.0 --restart=Never -- <nebula-console> -addr <10.10.1.2> -port 9669 -u <root> -p <vesoft>
kubectl run -ti --image vesoft/nebula-console:v2.5.0 --restart=Never -- <nebula-console> -addr <10.98.213.34> -port 9669 -u <root> -p <vesoft>
```

- `--image`:为连接Nebula Graph的工具Nebula Console的镜像。
- `<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`:用户名对应的密码。未启用身份认证时,密码可以填写任意字符。

Expand Down Expand Up @@ -109,8 +109,8 @@ kubectl run -ti --image vesoft/nebula-console:v2.5.0 --restart=Never -- <nebula-
```bash
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
nebula-graphd-svc ClusterIP 10.10.1.2 <none> 9669/TCP,19669/TCP,19670/TCP 23h
nebula-graphd-svc-nodeport NodePort 10.20.1.2 <none> 9669:32236/TCP,19669:31674/TCP,19670:31057/TCP 24h
nebula-graphd-svc ClusterIP 10.98.213.34 <none> 9669/TCP,19669/TCP,19670/TCP 23h
nebula-graphd-svc-nodeport NodePort 10.107.153.129 <none> 9669:32236/TCP,19669:31674/TCP,19670:31057/TCP 24h
nebula-metad-headless ClusterIP None <none> 9559/TCP,19559/TCP,19560/TCP 23h
nebula-storaged-headless ClusterIP None <none> 9779/TCP,19779/TCP,19780/TCP,9778/TCP 23h
```
Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/nebula-operator/5.operator-failover.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Nebula Operator调用Nebula Graph集群提供的接口,动态地感知服务
nebula-cluster-storaged-2 1/1 Running 0 4m2s
...
```
`<cluster-name>-storaged-2`的状态由`ContainerCreating`变为`Running`时,说明成功转移故障
`<cluster-name>-storaged-2`的状态由`ContainerCreating`变为`Running`时,说明自愈成功
9 changes: 6 additions & 3 deletions docs-2.0/nebula-operator/6.get-started-with-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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)
2 changes: 1 addition & 1 deletion docs-2.0/nebula-operator/7.operator-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

不支持,因为v1.x版本的Nebula Graph不支持DNS,而Nebula Operator需要使用DNS。

## 是否支持升级Nebula Operator操作
## Nebula Operator是否支持滚动升级Nebula Graph

暂不支持。

Expand Down

0 comments on commit 81b3127

Please sign in to comment.