Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add docs for jc logs #5892

Merged
merged 2 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file added docs/concepts/jcloud/img/executor_logs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/concepts/jcloud/img/gateway_logs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions docs/concepts/jcloud/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,28 @@ jc scale good-martin-ca6bfdef84 --executor executor0 --replicas 2
:width: 70%
```

### Get Executor or Gateway logs

To get the Gateway logs:

```bash
jc logs --gateway central-escargot-354a796df5
```

```{figure} img/gateway_logs.png
:width: 70%
```

To get the Executor logs:

```bash
jc logs --executor executor0 central-escargot-354a796df5
```

```{figure} img/executor_logs.png
:width: 70%
```

## Configuration

Please refer to {ref}`Configuration <jcloud-configuration>` for configuring the Flow on Jina AI Cloud.
Expand Down