@@ -1450,7 +1450,7 @@ amazonCredentials:
14501450# # Stateful Backend Components
14511451# #
14521452statefulRabbitMq :
1453- image : cognigy.azurecr.io/rabbitmq:3.9.20_cognigy -4.X
1453+ image : cognigy.azurecr.io/rabbitmq:3.9.24_cognigy -4.X
14541454 replicaCount : 1
14551455 resources :
14561456 limits :
@@ -1460,6 +1460,71 @@ statefulRabbitMq:
14601460 memory : 1Gi
14611461 cpu : " 1"
14621462 extraEnvVars : []
1463+ # # The memory threshold under which RabbitMQ will stop reading from client network sockets, in order to avoid being killed by the OS
1464+ # # ref: https://www.rabbitmq.com/alarms.html
1465+ # # ref: https://www.rabbitmq.com/memory.html#threshold
1466+ # #
1467+ memoryHighWatermark :
1468+ # # Enable configuring Memory high watermark on RabbitMQ
1469+ # #
1470+ enabled : true
1471+ # # Memory high watermark type. Either `absolute` or `relative`
1472+ # #
1473+ type : " relative"
1474+ # # Memory high watermark value.
1475+ # # The default value of 0.4 stands for 40% of available RAM
1476+ # # Note: the memory relative limit is applied to the statefulRabbitMq.resource.limits.memory to calculate the memory threshold
1477+ # # You can also use an absolute value, e.g.: 256MB
1478+ # #
1479+ value : 0.4
1480+ # # RabbitMQ Configuration file content: required cluster configuration
1481+ # # ref: https://www.rabbitmq.com/configure.html#configuration-files
1482+ # # Do not override unless you know what you are doing.
1483+ # # To add more configuration, use `extraConfiguration` of `advancedConfiguration` instead
1484+ # #
1485+ configuration : |-
1486+ {{ tpl .Values.statefulRabbitMq.extraConfiguration . }}
1487+ ## allow access to the guest user from anywhere on the network
1488+ ## https://www.rabbitmq.com/access-control.html#loopback-users
1489+ ## https://www.rabbitmq.com/production-checklist.html#users
1490+ loopback_users.guest = false
1491+
1492+ ## Send all logs to stdout/TTY. Necessary to see logs when running in a container
1493+ log.console = true
1494+
1495+ {{- if .Values.statefulRabbitMq.memoryHighWatermark.enabled }}
1496+ ## Memory Threshold
1497+ ##
1498+ total_memory_available_override_value = {{ include "rabbitmq.toBytes" .Values.statefulRabbitMq.resources.limits.memory }}
1499+ vm_memory_high_watermark.{{ .Values.statefulRabbitMq.memoryHighWatermark.type }} = {{ .Values.statefulRabbitMq.memoryHighWatermark.value }}
1500+ {{- end }}
1501+ # # Optionally specify Configuration file content: extra configuration to be appended to RabbitMQ configuration
1502+ # # Use this instead of `configuration` to add more configuration
1503+ # # Example configuration:
1504+ # # extraConfiguration: |-
1505+ # # listeners.tcp.default = 5672
1506+ # #
1507+ extraConfiguration : |-
1508+ #default_vhost = {{ .Release.Namespace }}-vhost
1509+ #disk_free_limit.absolute = 50MB
1510+
1511+ # # Optionally specify Configuration file content: advanced configuration
1512+ # # Use this as additional configuration in classic config format (Erlang term configuration format)
1513+ # # ref: https://www.rabbitmq.com/configure.html#advanced-config-file
1514+ # # Example configuration:
1515+ # # advancedConfiguration: |-
1516+ # # [
1517+ # # {rabbit, [
1518+ # # {tcp_listeners, [5672]}
1519+ # # ]
1520+ # # }
1521+ # # ].
1522+ advancedConfiguration : |-
1523+
1524+ # # RabbitMQ pods' Security Context
1525+ # # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1526+ # # Note: The following values of RabbitMQ pod's Security Context runAsUser and runAsGroup are required to run the pod as non-root user.
1527+ # #
14631528 securityContext :
14641529 runAsUser : 1337
14651530 runAsGroup : 1337
@@ -1476,9 +1541,10 @@ statefulRabbitMq:
14761541 # #
14771542 tolerations : []
14781543
1479- # If redis is not required to deploy then you can set the "statefulRedis.enabled" flag to false. By default it is always enabled.
1480- # statefulRedis:
1481- # enabled: false
1544+
1545+ # # If redis is not required to deploy then you can set the "statefulRedis.enabled" flag to false. By default it is always enabled.
1546+ # # statefulRedis:
1547+ # # enabled: false
14821548
14831549statefulRedis :
14841550 enabled : true
@@ -1506,9 +1572,9 @@ statefulRedis:
15061572 # #
15071573 tolerations : []
15081574
1509- # If redis-persistent is not required to deploy then you can set the "statefulRedis.enabled" flag to false. By default it is always enabled.
1510- # statefulRedisPersistent:
1511- # enabled: false
1575+ # # If redis-persistent is not required to deploy then you can set the "statefulRedis.enabled" flag to false. By default it is always enabled.
1576+ # # statefulRedisPersistent:
1577+ # # enabled: false
15121578
15131579statefulRedisPersistent :
15141580 enabled : true
0 commit comments