mirror of
https://github.com/helm/charts.git
synced 2026-08-22 22:07:36 +00:00
[stable/rabbitmq] Add parameters to limit the number of scheduler threads. (#13044)
* [stable/rabbitmq] Add parameters to limit the number of scheduler threads. Signed-off-by: juan131 <juan@bitnami.com> * Fix indentation Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
788f52cab1
commit
e0add8ea7c
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: rabbitmq
|
||||
version: 5.1.0
|
||||
version: 5.2.0
|
||||
appVersion: 3.7.14
|
||||
description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)
|
||||
keywords:
|
||||
|
||||
@@ -67,6 +67,8 @@ The following table lists the configurable parameters of the RabbitMQ chart and
|
||||
| `rabbitmq.clustering.k8s_domain` | Customize internal k8s cluster domain | `cluster.local` |
|
||||
| `rabbitmq.logs` | Value for the RABBITMQ_LOGS environment variable | `-` |
|
||||
| `rabbitmq.ulimitNofiles` | Max File Descriptor limit | `65536` |
|
||||
| `rabbitmq.maxAvailableSchedulers | RabbitMQ maximum available scheduler threads | `2` |
|
||||
| `rabbitmq.onlineSchedulers | RabbitMQ online scheduler threads | `1` |
|
||||
| `rabbitmq.configuration` | Required cluster configuration | See values.yaml |
|
||||
| `rabbitmq.extraConfiguration` | Extra configuration to add to rabbitmq.conf | See values.yaml |
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
|
||||
@@ -185,6 +185,10 @@ spec:
|
||||
value: {{ .Values.rabbitmq.logs | quote }}
|
||||
- name: RABBITMQ_ULIMIT_NOFILES
|
||||
value: {{ .Values.rabbitmq.ulimitNofiles | quote }}
|
||||
{{- if and .Values.rabbitmq.maxAvailableSchedulers }}
|
||||
- name: RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS
|
||||
value: {{ printf "+S %s:%s" (toString .Values.rabbitmq.maxAvailableSchedulers) (toString .Values.rabbitmq.onlineSchedulers) -}}
|
||||
{{- end }}
|
||||
- name: RABBITMQ_USE_LONGNAME
|
||||
value: "true"
|
||||
- name: RABBITMQ_ERL_COOKIE
|
||||
|
||||
@@ -70,6 +70,12 @@ rabbitmq:
|
||||
##
|
||||
ulimitNofiles: '65536'
|
||||
|
||||
## RabbitMQ maximum available scheduler threads and online scheduler threads
|
||||
## ref: https://hamidreza-s.github.io/erlang/scheduling/real-time/preemptive/migration/2016/02/09/erlang-scheduler-details.html#scheduler-threads
|
||||
##
|
||||
maxAvailableSchedulers: 2
|
||||
onlineSchedulers: 1
|
||||
|
||||
## Plugins to enable
|
||||
plugins: "rabbitmq_management rabbitmq_peer_discovery_k8s"
|
||||
|
||||
|
||||
@@ -70,6 +70,12 @@ rabbitmq:
|
||||
##
|
||||
ulimitNofiles: '65536'
|
||||
|
||||
## RabbitMQ maximum available scheduler threads and online scheduler threads
|
||||
## ref: https://hamidreza-s.github.io/erlang/scheduling/real-time/preemptive/migration/2016/02/09/erlang-scheduler-details.html#scheduler-threads
|
||||
##
|
||||
maxAvailableSchedulers: 2
|
||||
onlineSchedulers: 1
|
||||
|
||||
## Plugins to enable
|
||||
plugins: "rabbitmq_management rabbitmq_peer_discovery_k8s"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user