X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-flock%2Fstx-openstack-armada-app%2Fopenstack-helm-infra%2F0007-Add-io_thread_pool-for-rabbitmq.patch;fp=meta-starlingx%2Fmeta-stx-flock%2Fstx-openstack-armada-app%2Fopenstack-helm-infra%2F0007-Add-io_thread_pool-for-rabbitmq.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=1922f8d99276c81189a70de2738b37f4d0864c97;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-flock/stx-openstack-armada-app/openstack-helm-infra/0007-Add-io_thread_pool-for-rabbitmq.patch b/meta-starlingx/meta-stx-flock/stx-openstack-armada-app/openstack-helm-infra/0007-Add-io_thread_pool-for-rabbitmq.patch deleted file mode 100644 index 1922f8d..0000000 --- a/meta-starlingx/meta-stx-flock/stx-openstack-armada-app/openstack-helm-infra/0007-Add-io_thread_pool-for-rabbitmq.patch +++ /dev/null @@ -1,55 +0,0 @@ -From f4c56def0797f093f626720871bd5e525227685e Mon Sep 17 00:00:00 2001 -From: Bin Yang -Date: Tue, 13 Aug 2019 10:15:14 +0800 -Subject: [PATCH] add io_thread_pool for rabbitmq - -Signed-off-by: Bin Yang ---- - rabbitmq/templates/statefulset.yaml | 8 ++++++++ - rabbitmq/values.yaml | 4 ++++ - 2 files changed, 12 insertions(+) - -diff --git a/rabbitmq/templates/statefulset.yaml b/rabbitmq/templates/statefulset.yaml -index 41dc198..e0e61e6 100644 ---- a/rabbitmq/templates/statefulset.yaml -+++ b/rabbitmq/templates/statefulset.yaml -@@ -105,6 +105,10 @@ spec: - key: RABBITMQ_ADMIN_PASSWORD - - name: RABBITMQ_DEFINITION_FILE - value: "{{ index $envAll.Values.conf.rabbitmq "management.load_definitions" }}" -+{{- if $envAll.Values.io_thread_pool.enabled }} -+ - name: RABBITMQ_IO_THREAD_POOL_SIZE -+ value: {{ $envAll.Values.io_thread_pool.size | quote }} -+{{- end }} - volumeMounts: - - name: pod-tmp - mountPath: /tmp -@@ -191,6 +195,10 @@ spec: - value: "{{ tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}" - - name: PORT_CLUSTERING - value: "{{ add (tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup") 20000 }}" -+{{- if $envAll.Values.io_thread_pool.enabled }} -+ - name: RABBITMQ_IO_THREAD_POOL_SIZE -+ value: {{ $envAll.Values.io_thread_pool.size | quote }} -+{{- end }} - readinessProbe: - initialDelaySeconds: 10 - timeoutSeconds: 10 -diff --git a/rabbitmq/values.yaml b/rabbitmq/values.yaml -index 6c95787..9cd3a91 100644 ---- a/rabbitmq/values.yaml -+++ b/rabbitmq/values.yaml -@@ -334,6 +334,10 @@ volume: - class_name: general - size: 256Mi - -+io_thread_pool: -+ enabled: false -+ size: 64 -+ - manifests: - configmap_bin: true - configmap_etc: true --- -2.7.4 -