Skip to content

Commit

Permalink
fix (#2724)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber authored Apr 19, 2023
1 parent c91fb06 commit 91eb5e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 @@ -176,12 +176,12 @@
(root@nebula) [(none)]>
```

用户还可以使用**完全限定域名(FQDN)**连接数据库,域名格式为`<cluster-name>-graphd.<cluster-namespace>.svc.<CLUSTER_DOMAIN>`
用户还可以使用**完全限定域名(FQDN)**连接数据库,域名格式为`<cluster-name>-graphd.<cluster-namespace>.svc.<CLUSTER_DOMAIN>`,`CLUSTER_DOMAIN`的默认值为`cluster.local`。

```bash
kubectl run -ti --image vesoft/nebula-console:{{console.tag}} --restart=Never -- <nebula_console_name> -addr <cluster_name>-graphd-svc.default.svc.cluster.local -port <service_port> -u <username> -p <password>
```
- `CLUSTER_DOMAIN`的默认值为`cluster.local`。
- `<service_port>`为 Graph 服务默认的端口`9669`。


Expand Down

0 comments on commit 91eb5e9

Please sign in to comment.