-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from k8sgpt-ai/feat/grafana
feat: added quick grafana doc
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,25 @@ | ||
# Integrating Observability with K8sGPT | ||
|
||
Enhance your Kubernetes observability by integrating Prometheus and Grafana with K8sGPT. Follow these steps to set up and visualize your cluster's insights: | ||
## Prerequisites | ||
- Prometheus: Install using Helm via Prometheus Community Helm Charts. | ||
- Grafana Dashboard: Ensure Grafana is installed and accessible in your environment. | ||
|
||
# Installation Steps | ||
|
||
Install the K8sGPT Operator with observability features enabled: | ||
``` | ||
helm install release k8sgpt/k8sgpt-operator -n k8sgpt-operator-system --create-namespace --set interplex.enabled=true --set grafanaDashboard.enabled=true --set serviceMonitor.enabled=true | ||
``` | ||
This command: | ||
- Creates a ServiceMonitor to integrate with Prometheus. | ||
- Automatically configures and populates data into your Grafana dashboard. | ||
|
||
Once set up, you can explore key metrics like: | ||
- Results identified by K8sGPT. | ||
- Operator workload details, providing insight into resource usage and efficiency. | ||
|
||
|
||
_See example of a K8sGPT Grafana dashboard_ | ||
|
||
![Generate a token on the OpenAI website](../imgs/grafana.png) |