Skip to content

Conversation

coderzc
Copy link
Member

@coderzc coderzc commented Oct 19, 2021

No description provided.

@coderzc coderzc force-pushed the operator-deploy-readme branch from 9be89ef to ba77977 Compare October 19, 2021 07:13
@codecov
Copy link

codecov bot commented Oct 19, 2021

Codecov Report

Merging #123 (fdf5c49) into master (89fe866) will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@ ## master #123 +/- ## ============================================ - Coverage 88.00% 87.94% -0.06%  + Complexity 2854 2853 -1  ============================================ Files 300 300 Lines 10768 10788 +20 Branches 902 904 +2 ============================================ + Hits 9476 9488 +12  - Misses 864 871 +7  - Partials 428 429 +1 
Impacted Files Coverage Δ
...ugegraph/computer/core/compute/ComputeManager.java 87.01% <0.00%> (-12.99%) ⬇️
...k8s/operator/controller/ComputerJobController.java 89.13% <0.00%> (-0.37%) ⬇️
...raph/computer/core/compute/FileGraphPartition.java 86.44% <0.00%> (-0.07%) ⬇️
...ugegraph/computer/k8s/driver/KubernetesDriver.java 85.92% <0.00%> (+0.37%) ⬆️
...raph/computer/core/compute/input/MessageInput.java 91.30% <0.00%> (+0.39%) ⬆️
...mputer/k8s/operator/common/AbstractController.java 84.34% <0.00%> (+1.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 89fe866...fdf5c49. Read the comment docs.

@@ -0,0 +1,90 @@
# Quick Start

## Install etcd crd and hugegraph-computer crd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CRD?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CRD (CustomResourceDefinition)

kubectl logs -l component=pagerank-test123-worker -n hugegraph-computer-system
```

## Show the diagnostics log when the job fails (it will only be saved for one hour)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## Show diagnostics log of a job > NOTE: diagnostics 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-test123 -n hugegraph-computer-system
```

## Show job success event (it will only be saved for one hour)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show success event of a job

## Show job

```bash
kubectl get hcjob -n hugegraph-computer-system
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kubectl get job-test123

kubectl get hcjob -n hugegraph-computer-system
```

## Show log
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show logs of node

@coderzc coderzc force-pushed the operator-deploy-readme branch from 39c180d to a0228d8 Compare October 20, 2021 06:51
@coderzc coderzc force-pushed the operator-deploy-readme branch from a0228d8 to ede85cb Compare October 20, 2021 06:52
@coderzc coderzc requested a review from javeme October 20, 2021 13:51
```

## Show the diagnostics log when the job fails (it will only be saved for one hour)
## Show diagnostics log of a job
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diagnostic log

```

## Show log
## Show logs of node of running
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show log of running nodes

@javeme javeme merged commit 42e9e6b into master Oct 26, 2021
@javeme javeme deleted the operator-deploy-readme branch October 26, 2021 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants