Skip to content

Commit

Permalink
Merge pull request #65 from eslam-gomaa/feat/document-new-kptop-funct…
Browse files Browse the repository at this point in the history
…ionalities

refactor KPtop docs
  • Loading branch information
eslam-gomaa authored Jun 30, 2024
2 parents 32ee661 + a01c376 commit c8cfd12
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 5 deletions.
Binary file removed docs/images/avoid-idle-consumers.png
Binary file not shown.
Binary file removed docs/images/choose-number-of-partitions.png
Binary file not shown.
Binary file removed docs/images/consume-sample-code.png
Binary file not shown.
Binary file removed docs/images/consumer-client-id.png
Binary file not shown.
Binary file removed docs/images/consumer-group-rebalancing.png
Binary file not shown.
Binary file added docs/images/dashboard-pods.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dashboard-pvcs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/g-sheet.png
Binary file not shown.
Binary file removed docs/images/migration-1.png
Binary file not shown.
Binary file removed docs/images/migration-2.png
Binary file not shown.
Binary file removed docs/images/migration-3.png
Binary file not shown.
Binary file removed docs/images/mm2.png
Binary file not shown.
Binary file removed docs/images/partitions-assignment-process.png
Binary file not shown.
Binary file removed docs/images/scale-consumers.png
Binary file not shown.
Binary file removed docs/images/sync-with-prune.png
Binary file not shown.
11 changes: 6 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ kramdown:
syntax_highlighter: coderay
---

# Kube-Prometheus-Top [ kptop ]
# Kube-Prometheus-Top [ KPtop ]
{: .fs-9 }

<br>

A Python tool that offers beautiful CLI monitoring based on Prometheus metrics, with Kubernetes integration through PodPortForward

Expand All @@ -38,7 +39,7 @@ Prometheus is widely used with different kinds of metrics - Let's make CLI monit

| ENV | Description | Default | Required |
| ----- | -------------------------------------------------------------------------------------- | --------- | ---------- |
| `KPTOP_CONNECTION_METHOD` | The way to connect to Prometheus server<br />**options:** ['prometheus_endpoint', 'pod_portForward'] | <br /> | Yes |
| `KPTOP_CONNECTION_METHOD` | The way to connect to Prometheus server<br />**options:** ['`prometheus_endpoint`', '`pod_portForward`'] | <br /> | Yes |

There are 2 options to connect KPtop to Prometheus:
1. With a Prometheus server endpoint
Expand All @@ -47,7 +48,7 @@ There are 2 options to connect KPtop to Prometheus:
- Suitable if Prometheus is Not exposed (Only rechable with K8s cluster access)


#### `prometheus_endpoint` ENVs
### `prometheus_endpoint` ENVs

| ENV | Description | Default | Required |
| ----- | ----------------------------------------------------------------- | --------- | ---------- |
Expand All @@ -60,7 +61,7 @@ There are 2 options to connect KPtop to Prometheus:

<br>

#### `pod_portForward` ENVs
### `pod_portForward` ENVs

| ENV | Description | Default | Required |
| ----- | -------------------------------------------------------- | --------- | ---------- |
Expand All @@ -72,7 +73,7 @@ There are 2 options to connect KPtop to Prometheus:

<br>

#### General ENVs
### General ENVs

| ENV | Description | Default | Required |
| ------------------------------------ | ------------------------------------------------------------ | --------------------- | -------- |
Expand Down

0 comments on commit c8cfd12

Please sign in to comment.