Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ k8sgpt serve

_Analysis with GRPC serve mode_
```
grpcurl -plaintext localhost:8080 schema.v1.ServerService/Analyze
grpcurl -plaintext localhost:8080 schema.v1.ServerAnalyzerService/Analyze
```

_Serve mode with GRPC and non-default backend (amazonbedrock)_
Expand All @@ -98,7 +98,7 @@ k8sgpt serve -b amazonbedrock

_Analysis with GRPC serve mode and non-default backend (amazonbedrock)_
```
grpcurl -plaintext -d '{"explain": true, "backend": "amazonbedrock"}' localhost:8080 schema.v1.ServerService/Analyze
grpcurl -plaintext -d '{"explain": true, "backend": "amazonbedrock"}' localhost:8080 schema.v1.ServerAnalyzerService/Analyze
```

_Serve mode with REST API_
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/cli/serve-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ kubectl get nodes
Next, run the following command:

```bash
grpcurl -plaintext localhost:8080 schema.v1.ServerService/Analyze
grpcurl -plaintext localhost:8080 schema.v1.ServerAnalyzerService/Analyze
```

This command provides a list of issues in your Kubernetes cluster. If there are no issues identified, you should receive a status of `OK`.
Expand All @@ -40,7 +40,7 @@ This command provides a list of issues in your Kubernetes cluster. If there are
You can specify parameters using the following command:

```bash
grpcurl -plaintext -d '{"explain": false, "filters": ["Ingress"], "namespace": "k8sgpt"}' localhost:8080 schema.v1.ServerService/Analyze
grpcurl -plaintext -d '{"explain": false, "filters": ["Ingress"], "namespace": "k8sgpt"}' localhost:8080 schema.v1.ServerAnalyzerService/Analyze
```

In this example, the analyzer will only consider the `k8sgpt` namespace without AI explanation and only focus on the `Ingress` filter.