This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/master by this push:
new 2be46299 doc: update computer namespace in example (#292)
2be46299 is described below
commit 2be46299772b095b31604ea0514606244daef190
Author: Aaron Wang <[email protected]>
AuthorDate: Fri Nov 3 16:50:31 2023 +0800
doc: update computer namespace in example (#292)
---
content/cn/docs/quickstart/hugegraph-computer.md | 12 ++++++------
content/en/docs/quickstart/hugegraph-computer.md | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/content/cn/docs/quickstart/hugegraph-computer.md
b/content/cn/docs/quickstart/hugegraph-computer.md
index e43d3569..54337b8d 100644
--- a/content/cn/docs/quickstart/hugegraph-computer.md
+++ b/content/cn/docs/quickstart/hugegraph-computer.md
@@ -138,7 +138,7 @@ cat <<EOF | kubectl apply --filename -
apiVersion: hugegraph.apache.org/v1
kind: HugeGraphComputerJob
metadata:
- namespace: hugegraph-computer-system
+ namespace: hugegraph-computer-operator-system
name: &jobName pagerank-sample
spec:
jobId: *jobName
@@ -160,7 +160,7 @@ EOF
#### 2.2.6 显示作业
```bash
-kubectl get hcjob/pagerank-sample -n hugegraph-computer-system
+kubectl get hcjob/pagerank-sample -n hugegraph-computer-operator-system
NAME JOBID JOBSTATUS
pagerank-sample pagerank-sample RUNNING
@@ -170,14 +170,14 @@ pagerank-sample pagerank-sample RUNNING
```bash
# Show the master log
-kubectl logs -l component=pagerank-sample-master -n hugegraph-computer-system
+kubectl logs -l component=pagerank-sample-master -n
hugegraph-computer-operator-system
# Show the worker log
-kubectl logs -l component=pagerank-sample-worker -n hugegraph-computer-system
+kubectl logs -l component=pagerank-sample-worker -n
hugegraph-computer-operator-system
# Show diagnostic log of a job
# 注意: 诊断日志仅在作业失败时存在,并且只会保存一小时。
-kubectl get event --field-selector reason=ComputerJobFailed --field-selector
involvedObject.name=pagerank-sample -n hugegraph-computer-system
+kubectl get event --field-selector reason=ComputerJobFailed --field-selector
involvedObject.name=pagerank-sample -n hugegraph-computer-operator-system
```
#### 2.2.8 显示作业的成功事件
@@ -185,7 +185,7 @@ kubectl get event --field-selector reason=ComputerJobFailed
--field-selector inv
> NOTE: it will only be saved for one hour
```bash
-kubectl get event --field-selector reason=ComputerJobSucceed --field-selector
involvedObject.name=pagerank-sample -n hugegraph-computer-system
+kubectl get event --field-selector reason=ComputerJobSucceed --field-selector
involvedObject.name=pagerank-sample -n hugegraph-computer-operator-system
```
#### 2.2.9 查询算法结果
diff --git a/content/en/docs/quickstart/hugegraph-computer.md
b/content/en/docs/quickstart/hugegraph-computer.md
index cce97d6a..c1a51164 100644
--- a/content/en/docs/quickstart/hugegraph-computer.md
+++ b/content/en/docs/quickstart/hugegraph-computer.md
@@ -138,7 +138,7 @@ cat <<EOF | kubectl apply --filename -
apiVersion: hugegraph.apache.org/v1
kind: HugeGraphComputerJob
metadata:
- namespace: hugegraph-computer-system
+ namespace: hugegraph-computer-operator-system
name: &jobName pagerank-sample
spec:
jobId: *jobName
@@ -160,7 +160,7 @@ EOF
#### 2.2.6 Show job
```bash
-kubectl get hcjob/pagerank-sample -n hugegraph-computer-system
+kubectl get hcjob/pagerank-sample -n hugegraph-computer-operator-system
NAME JOBID JOBSTATUS
pagerank-sample pagerank-sample RUNNING
@@ -170,14 +170,14 @@ pagerank-sample pagerank-sample RUNNING
```bash
# Show the master log
-kubectl logs -l component=pagerank-sample-master -n hugegraph-computer-system
+kubectl logs -l component=pagerank-sample-master -n
hugegraph-computer-operator-system
# Show the worker log
-kubectl logs -l component=pagerank-sample-worker -n hugegraph-computer-system
+kubectl logs -l component=pagerank-sample-worker -n
hugegraph-computer-operator-system
# Show diagnostic log of a job
# NOTE: diagnostic log exist only when the job fails, and it will only be
saved for one hour.
-kubectl get event --field-selector reason=ComputerJobFailed --field-selector
involvedObject.name=pagerank-sample -n hugegraph-computer-system
+kubectl get event --field-selector reason=ComputerJobFailed --field-selector
involvedObject.name=pagerank-sample -n hugegraph-computer-operator-system
```
#### 2.2.8 Show success event of a job
@@ -185,7 +185,7 @@ kubectl get event --field-selector reason=ComputerJobFailed
--field-selector inv
> NOTE: it will only be saved for one hour
```bash
-kubectl get event --field-selector reason=ComputerJobSucceed --field-selector
involvedObject.name=pagerank-sample -n hugegraph-computer-system
+kubectl get event --field-selector reason=ComputerJobSucceed --field-selector
involvedObject.name=pagerank-sample -n hugegraph-computer-operator-system
```
#### 2.2.9 Query algorithm results