From a31d07c802694d3455b665382ff12a2abc3e0ef7 Mon Sep 17 00:00:00 2001 From: Hadi Azaddel Date: Mon, 31 Mar 2025 21:34:59 +0330 Subject: [PATCH] docs: add table of contents and cleanup (#1413) Signed-off-by: hadi2f244 --- README.md | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 143189d..1c7f6b6 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,20 @@ _Out of the box integration with OpenAI, Azure, Cohere, Amazon Bedrock, Google G K8sGPT - K8sGPT gives Kubernetes Superpowers to everyone | Product Hunt Featured|HelloGitHub - + + +# Table of Contents +- [Overview](#k8sgpt) +- [Installation](#cli-installation) +- [Quick Start](#quick-start) +- [Analyzers](#analyzers) +- [Examples](#examples) +- [LLM AI Backends](#llm-ai-backends) +- [Key Features](#key-features) +- [Documentation](#documentation) +- [Contributing](#contributing) +- [Community](#community) +- [License](#license) # CLI Installation @@ -133,7 +146,7 @@ If you install gcc as suggested, the problem will persist. Therefore, you need t - Download the latest Windows binaries of **k8sgpt** from the [Release](https://github.com/k8sgpt-ai/k8sgpt/releases) tab based on your system architecture. -- Extract the downloaded package to your desired location. Configure the system _path_ variable with the binary location +- Extract the downloaded package to your desired location. Configure the system _PATH_ environment variable with the binary location ## Operator Installation @@ -324,14 +337,14 @@ _Print analysis stats_ ``` k8sgpt analyze -s The stats mode allows for debugging and understanding the time taken by an analysis by displaying the statistics of each analyzer. -- Analyzer Ingress took 47.125583ms -- Analyzer PersistentVolumeClaim took 53.009167ms -- Analyzer CronJob took 57.517792ms -- Analyzer Deployment took 156.6205ms -- Analyzer Node took 160.109833ms -- Analyzer ReplicaSet took 245.938333ms -- Analyzer StatefulSet took 448.0455ms -- Analyzer Pod took 5.662594708s +- Analyzer Ingress took 47.125583ms +- Analyzer PersistentVolumeClaim took 53.009167ms +- Analyzer CronJob took 57.517792ms +- Analyzer Deployment took 156.6205ms +- Analyzer Node took 160.109833ms +- Analyzer ReplicaSet took 245.938333ms +- Analyzer StatefulSet took 448.0455ms +- Analyzer Pod took 5.662594708s - Analyzer Service took 38.583359166s ``` @@ -412,11 +425,9 @@ The Kubernetes system is trying to scale a StatefulSet named tGLcCRcHa1Ce5Rs usi The Kubernetes system is trying to scale a StatefulSet named fake-deployment using the HorizontalPodAutoscaler, but it cannot find the StatefulSet. The solution is to verify that the StatefulSet name is spelled correctly and exists in the same namespace as the HorizontalPodAutoscaler. ``` -Note: **Anonymization does not currently apply to events.** - ### Further Details -**Anonymization does not currently apply to events.** +Note: **Anonymization does not currently apply to events.** _In a few analysers like Pod, we feed to the AI backend the event messages which are not known beforehand thus we are not masking them for the **time being**._ @@ -434,7 +445,7 @@ _In a few analysers like Pod, we feed to the AI backend the event messages which - The following is the list of analysers in which data is **not being masked**:- - - RepicaSet + - ReplicaSet - PersistentVolumeClaim - Pod - Log @@ -485,7 +496,7 @@ There may be scenarios where caching remotely is preferred. In these scenarios K8sGPT supports AWS S3 or Azure Blob storage Integration. Remote caching -Note: You can only configure and use only one remote cache at a time +Note: You can configure and use only one remote cache at a time _Adding a remote cache_ @@ -589,4 +600,4 @@ Find us on [Slack](https://join.slack.com/t/k8sgpt/shared_invite/zt-276pa9uyq-px ## License -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fk8sgpt-ai%2Fk8sgpt.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fk8sgpt-ai%2Fk8sgpt?ref=badge_large) +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fk8sgpt-ai%2Fk8sgpt.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fk8sgpt-ai%2Fk8sgpt?ref=badge_large) \ No newline at end of file