Skip to content

Commit 1b13fc4

Browse files
Haaroleangitbook-bot
authored andcommitted
GITBOOK-38: Add a page about helm resource limits. Authored by Narek
1 parent 15ed820 commit 1b13fc4

File tree

3 files changed

+43
-5
lines changed

3 files changed

+43
-5
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
# About
1+
---
2+
description: About Kafka-UI
3+
---
24

3-
## **About Kafka-UI**
5+
# About
46

5-
**Versatile, fast and lightweight web UI for managing Apache Kafka® clusters. Built by developers, for developers.**
7+
**UI for Apache Kafka** is a versatile, fast, and lightweight web UI for managing Apache Kafka® clusters. Built by developers, for developers.
68

79

810

9-
**UI for Apache Kafka is a free, open-source web UI to monitor and manage Apache Kafka clusters.**
11+
The app is a free, open-source web UI to monitor and manage Apache Kafka clusters.
1012

11-
UI for Apache Kafka is a simple tool that makes your data flows observable, helps find and troubleshoot issues faster and deliver optimal performance. Its lightweight dashboard makes it easy to track key metrics of your Kafka clusters - Brokers, Topics, Partitions, Production, and Consumption.
13+
UI for Apache Kafka is a simple tool that makes your data flows observable, helps find and troubleshoot issues faster and delivers optimal performance. Its lightweight dashboard makes it easy to track key metrics of your Kafka clusters - Brokers, Topics, Partitions, Production, and Consumption.

SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
* [Helm charts](configuration/helm-charts/README.md)
3232
* [Quick start](configuration/helm-charts/quick-start.md)
3333
* [Configuration](configuration/helm-charts/configuration.md)
34+
* [Resource limits](configuration/helm-charts/resource-limits.md)
3435
* [Misc configuration properties](configuration/misc-configuration-properties.md)
3536
* [Permissions](configuration/permissions/README.md)
3637
* [Required Kafka ACLs](configuration/configuration/required-acls.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
description: How to set up resource limits
3+
---
4+
5+
# Resource limits
6+
7+
There are two options:
8+
9+
### Set limits via changing values.yaml
10+
11+
To set or change resource limits for pods you need to create the file `values.yaml` and add the following lines:
12+
13+
```
14+
resources:
15+
limits:
16+
cpu: 200m
17+
memory: 512Mi
18+
requests:
19+
cpu: 200m
20+
memory: 256Mi
21+
```
22+
23+
Specify `values.yaml` file during chart install
24+
25+
```
26+
helm install kafka-ui kafka-ui/kafka-ui -f values.yaml
27+
```
28+
29+
### Set limits via CLI
30+
31+
To set limits via CLI you need to specify limits with helm install command.
32+
33+
```
34+
helm install kafka-ui kafka-ui/kafka-ui --set resources.limits.cpu=200m --set resources.limits.memory=512Mi --set resources.requests.memory=256Mi --set resources.requests.cpu=200m
35+
```

0 commit comments

Comments
 (0)