mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-08-16 23:06:38 +00:00
chore: improve codebase and doc quality (#922)
* chore(prometheus integration): fix mispelling Signed-off-by: r3drun3 <simone.ragonesi@sighup.io> * docs(readme): add badges to improve doc quality Signed-off-by: r3drun3 <simone.ragonesi@sighup.io> --------- Signed-off-by: r3drun3 <simone.ragonesi@sighup.io>
This commit is contained in:
parent
f9c1b90338
commit
d97dea2896
@ -10,7 +10,10 @@
|
|||||||
[](https://bestpractices.coreinfrastructure.org/projects/7272)
|
[](https://bestpractices.coreinfrastructure.org/projects/7272)
|
||||||
[](https://docs.k8sgpt.ai/)
|
[](https://docs.k8sgpt.ai/)
|
||||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fk8sgpt-ai%2Fk8sgpt?ref=badge_shield)
|
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fk8sgpt-ai%2Fk8sgpt?ref=badge_shield)
|
||||||
|
[](https://opensource.org/licenses/Apache-2.0)
|
||||||
|
[](https://github.com/k8sgpt-ai/k8sgpt)
|
||||||
[](https://codecov.io/github/k8sgpt-ai/k8sgpt)
|
[](https://codecov.io/github/k8sgpt-ai/k8sgpt)
|
||||||
|

|
||||||
|
|
||||||
`k8sgpt` is a tool for scanning your Kubernetes clusters, diagnosing, and triaging issues in simple English.
|
`k8sgpt` is a tool for scanning your Kubernetes clusters, diagnosing, and triaging issues in simple English.
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ func findPrometheusPodConfigs(ctx context.Context, client kubernetes.Interface,
|
|||||||
var configCache = make(map[string]bool)
|
var configCache = make(map[string]bool)
|
||||||
|
|
||||||
for _, pod := range pods {
|
for _, pod := range pods {
|
||||||
// Extract volume of Promethues config.
|
// Extract volume of Prometheus config.
|
||||||
volume, key, err := findPrometheusConfigVolumeAndKey(ctx, client, &pod)
|
volume, key, err := findPrometheusConfigVolumeAndKey(ctx, client, &pod)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user