-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: serve/integration capability (#645)
* chore: updated schema for integrations support (#616) Signed-off-by: Alex Jones <alexsimonjones@gmail.com> wip: enabling integration activation Signed-off-by: Alex Jones <alexsimonjones@gmail.com> wip: enabling integration activation Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * wip Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * feat: skipinstall fixed Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * feat: fixed filters for integrations but its ugly Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * chore: updated library Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * chore: updated go mod Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * chore: updated go mod Signed-off-by: Alex Jones <alexsimonjones@gmail.com> --------- Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
- Loading branch information
1 parent
6481590
commit ab064b9
Showing
8 changed files
with
100 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
__debug* | ||
.DS_Store | ||
k8sgpt* | ||
!charts/k8sgpt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# serve | ||
|
||
The serve commands allow you to run k8sgpt in a grpc server mode. | ||
This would be enabled typically through `k8sgpt serve` and is how the in-cluster k8sgpt deployment functions when managed by the [k8sgpt-operator](https://github.com/k8sgpt-ai/k8sgpt-operator) | ||
|
||
The grpc interface that is served is hosted on [buf](https://buf.build/k8sgpt-ai/schemas) and the repository for this is [here](https://github.com/k8sgpt-ai/schemas) | ||
|
||
## grpcurl | ||
|
||
A fantastic tool for local debugging and development is `grpcurl` | ||
It allows you to form curl like requests that are http2 | ||
e.g. | ||
|
||
``` | ||
grpcurl -plaintext -d '{"namespace": "k8sgpt", "explain" : "true"}' localhost:8080 schema.v1.ServerService/Analyze | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters