diff --git a/deployment/memcached/memcached-container-puppet.yaml b/deployment/memcached/memcached-container-puppet.yaml index 233b08369e..8f7d067c6d 100644 --- a/deployment/memcached/memcached-container-puppet.yaml +++ b/deployment/memcached/memcached-container-puppet.yaml @@ -42,6 +42,10 @@ parameters: to use when installed. This can be either a percentage ('50%') or a fixed value ('2048'). type: string + MemcachedMaxConnections: + default: 8192 + description: The maximum number of connections to be accepted by memcached + type: number MonitoringSubscriptionMemcached: default: 'overcloud-memcached' type: string @@ -155,6 +159,7 @@ outputs: "%{hiera('$NETWORK_uri')}" params: $NETWORK: {get_param: [ServiceNetMap, MemcachedNetwork]} + memcached::max_connections: {get_param: MemcachedMaxConnections} memcached::max_memory: {get_param: MemcachedMaxMemory} # https://access.redhat.com/security/cve/cve-2018-1000115 # Only accept TCP to avoid spoofed traffic amplification DoS on UDP. diff --git a/releasenotes/notes/addmemcachedmaxconnections-b591c0fa39e821f5.yaml b/releasenotes/notes/addmemcachedmaxconnections-b591c0fa39e821f5.yaml new file mode 100644 index 0000000000..bb8e273bbb --- /dev/null +++ b/releasenotes/notes/addmemcachedmaxconnections-b591c0fa39e821f5.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + Added ``MemcachedMaxConnections`` setting with a default of 8192 maximum + connections in order to allow an operator to override that value in + environments where memcached is heavily sollicited.