You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by li...@apache.org on 2022/12/12 10:40:23 UTC
[shenyu-website] branch main updated: add doc ingress and hpa in helm. (#836)
This is an automated email from the ASF dual-hosted git repository.
likeguo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git
The following commit(s) were added to refs/heads/main by this push:
new 405ebbb7eb3 add doc ingress and hpa in helm. (#836)
405ebbb7eb3 is described below
commit 405ebbb7eb3284b51e3a4488c757a3c824122687
Author: Misaya295 <45...@users.noreply.github.com>
AuthorDate: Mon Dec 12 18:40:17 2022 +0800
add doc ingress and hpa in helm. (#836)
---
helm/index.md | 49 +++++++++++++++++++++++++++++++++----------------
1 file changed, 33 insertions(+), 16 deletions(-)
diff --git a/helm/index.md b/helm/index.md
index 2f78763cfa2..523cab564d5 100644
--- a/helm/index.md
+++ b/helm/index.md
@@ -152,25 +152,42 @@ helm install shenyu shenyu/shenyu -n=shenyu --create-namespace \
### shenyu-admin configuration
-| configuration item | type | default | description |
-|--------------------|--------|-------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|
-| admin.enabled | bool | `true` | whether to install admin |
-| admin.replicas | int | `1` | number of replicas |
-| admin.image | string | `"apache/shenyu-admin"` | image name (you can modify this field to support custom images) |
-| admin.nodePort | int | `31095` | NodePort port |
-| admin.javaOpts | string | [see here](https://github.com/apache/shenyu/blob/master/shenyu-dist/shenyu-admin-dist/docker/entrypoint.sh) | JVM parameters |
-| admin.resources | dict | omit | K8s resource quota |
+| configuration item | type | default | description |
+|-------------------------------------------------------|--------|-------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|
+| admin.enabled | bool | `true` | whether to install admin |
+| admin.replicas | int | `1` | number of replicas |
+| admin.image | string | `"apache/shenyu-admin"` | image name (you can modify this field to support custom images) |
+| admin.nodePort | int | `31095` | NodePort port |
+| admin.javaOpts | string | [see here](https://github.com/apache/shenyu/blob/master/shenyu-dist/shenyu-admin-dist/docker/entrypoint.sh) | JVM parameters |
+| admin.resources | dict | omit | K8s resource quota |
+| admin.autoscaling.enabled | bool | `false` | whether to install hpa |
+| admin.autoscaling.minReplicas | int | `1` | minReplicas in hpa |
+| admin.autoscaling.maxReplicas | int | `10` | maxReplicas in hpa |
+| admin.autoscaling.targetCPUUtilizationPercentage | int | `75` | targetCPUUtilizationPercentage in hpa |
+| admin.autoscaling.targetMemoryUtilizationPercentage | int | `75` | targetMemoryUtilizationPercentage in hpa |
+| admin.ingress.enabled | bool | `false` | whether to install ingress |
+| admin.ingress.hosts[0].host | string | `shenyu-admin.local` | ingress host, u can set not only one host |
+| admin.ingress.hosts[0].paths[0].path | string | `/` | ingress host, u can set not only one path |
+
### shenyu-bootstrap configuration
-| configuration item | type | default | description |
-|---------------------|--------|-----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|
-| bootstrap.enabled | bool | `true` | whether to install bootstrap |
-| bootstrap.replicas | int | `2` | number of replicas |
-| bootstrap.image | string | `"apache/shenyu-bootstrap"` | image name (you can modify this field to support custom images) |
-| bootstrap.nodePort | int | `31195` | NodePort Port |
-| bootstrap.javaOpts | string | [see here](https://github.com/apache/shenyu/blob/master/shenyu-dist/shenyu-bootstrap-dist/docker/entrypoint.sh) | JVM parameters |
-| bootstrap.resources | dict | `{}` | K8s resource quota |
+| configuration item | type | default | description |
+|-------------------------------------------------------------|--------|-----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|
+| bootstrap.enabled | bool | `true` | whether to install bootstrap |
+| bootstrap.replicas | int | `2` | number of replicas |
+| bootstrap.image | string | `"apache/shenyu-bootstrap"` | image name (you can modify this field to support custom images) |
+| bootstrap.nodePort | int | `31195` | NodePort Port |
+| bootstrap.javaOpts | string | [see here](https://github.com/apache/shenyu/blob/master/shenyu-dist/shenyu-bootstrap-dist/docker/entrypoint.sh) | JVM parameters |
+| bootstrap.resources | dict | `{}` | K8s resource quota |
+| bootstrap.autoscaling.enabled | bool | `false` | whether to install hpa |
+| bootstrap.autoscaling.minReplicas | int | `1` | minReplicas in hpa |
+| bootstrap.autoscaling.maxReplicas | int | `10` | maxReplicas in hpa |
+| bootstrap.autoscaling.targetCPUUtilizationPercentage | int | `75` | targetCPUUtilizationPercentage in hpa |
+| bootstrap.autoscaling.targetMemoryUtilizationPercentage | int | `75` | targetMemoryUtilizationPercentage in hpa |
+| bootstrap.ingress.enabled | bool | `false` | whether to install ingress |
+| bootstrap.ingress.hosts[0].host | string | `shenyu-boostrap.local` | ingress host, u can set not only one host |
+| bootstrap.ingress.hosts[0].paths[0].path | string | `/` | ingress host, u can set not only one path |
### Database configuration