Jelajahi Sumber

GITBOOK-38: Add a page about helm resource limits. Authored by Narek

Roman Zabaluev 2 tahun lalu
induk
melakukan
1b13fc4f82
3 mengubah file dengan 43 tambahan dan 5 penghapusan
  1. 7 5
      README.md
  2. 1 0
      SUMMARY.md
  3. 35 0
      configuration/helm-charts/resource-limits.md

+ 7 - 5
README.md

@@ -1,11 +1,13 @@
-# About
+---
+description: About Kafka-UI
+---
 
 
-## **About Kafka-UI**
+# About
 
 
-**Versatile, fast and lightweight web UI for managing Apache Kafka® clusters. Built by developers, for developers.**
+**UI for Apache Kafka** is a versatile, fast, and lightweight web UI for managing Apache Kafka® clusters. Built by developers, for developers.
 
 
 
 
 
 
-**UI for Apache Kafka is a free, open-source web UI to monitor and manage Apache Kafka clusters.**
+The app is a free, open-source web UI to monitor and manage Apache Kafka clusters.
 
 
-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.
+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.

+ 1 - 0
SUMMARY.md

@@ -31,6 +31,7 @@
 * [Helm charts](configuration/helm-charts/README.md)
 * [Helm charts](configuration/helm-charts/README.md)
   * [Quick start](configuration/helm-charts/quick-start.md)
   * [Quick start](configuration/helm-charts/quick-start.md)
   * [Configuration](configuration/helm-charts/configuration.md)
   * [Configuration](configuration/helm-charts/configuration.md)
+  * [Resource limits](configuration/helm-charts/resource-limits.md)
 * [Misc configuration properties](configuration/misc-configuration-properties.md)
 * [Misc configuration properties](configuration/misc-configuration-properties.md)
 * [Permissions](configuration/permissions/README.md)
 * [Permissions](configuration/permissions/README.md)
   * [Required Kafka ACLs](configuration/configuration/required-acls.md)
   * [Required Kafka ACLs](configuration/configuration/required-acls.md)

+ 35 - 0
configuration/helm-charts/resource-limits.md

@@ -0,0 +1,35 @@
+---
+description: How to set up resource limits
+---
+
+# Resource limits
+
+There are two options:
+
+### Set limits via changing values.yaml
+
+To set or change resource limits for pods you need to create the file `values.yaml` and add the following lines:
+
+```
+resources:
+   limits:
+     cpu: 200m
+     memory: 512Mi
+   requests:
+     cpu: 200m
+     memory: 256Mi
+```
+
+Specify `values.yaml` file during chart install
+
+```
+helm install kafka-ui kafka-ui/kafka-ui -f values.yaml
+```
+
+### Set limits via CLI
+
+To set limits via CLI you need to specify limits with helm install command.
+
+```
+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 
+```