mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-19 01:12:46 +00:00
doc: use grpcurl instead curl (#773)
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
This commit is contained in:
@@ -285,7 +285,7 @@ k8sgpt serve
|
|||||||
_Analysis with serve mode_
|
_Analysis with serve mode_
|
||||||
|
|
||||||
```
|
```
|
||||||
curl -X GET "http://localhost:8080/analyze?namespace=k8sgpt&explain=false"
|
grpcurl -plaintext -d '{"namespace": "k8sgpt", "explain": false}' localhost:8080 schema.v1.ServerService/Analyze
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user