File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -326,7 +326,9 @@ spec:
326326 -startup-nodes=127.0.0.1:{{ .Values.redis.containerPorts.redis }} \
327327 -addr=0.0.0.0:{{ .Values.proxy.containerPorts.proxy }} \
328328 -password=$(REDIS_PASSWORD) \
329- -max-procs={{ .Values.proxy.maxProcs }}
329+ -max-procs={{ .Values.proxy.maxProcs }} \
330+ -backend-init-connections={{ .Values.proxy.backendInitConnections }} \
331+ -backend-idle-connections={{ .Values.proxy.backendIdleConnections }}
330332 {{- end }}
331333 env :
332334 {{- if and .Values.usePassword (not .Values.usePasswordFile) }}
Original file line number Diff line number Diff line change @@ -783,8 +783,13 @@ proxy:
783783 # # memory: 256Mi
784784 # #
785785 requests : {}
786- # max-procs
787- maxProcs : 1
786+ # # max-procs
787+ maxProcs : 4
788+ # # backend-init-connections
789+ backendInitConnections : 10
790+ # # backend-idle-connections
791+ backendIdleConnections : 500
792+ # #
788793 # # Configure extra options for Redis® liveness probes
789794 # # ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
790795 # # @param redis.livenessProbe.enabled Enable livenessProbe
Original file line number Diff line number Diff line change @@ -35,16 +35,21 @@ redis:
3535# # @section Proxy® statefulset parameters
3636# #
3737proxy :
38- maxProcs : 1
38+ # # max-procs
39+ maxProcs : 4
40+ # # backend-init-connections
41+ backendInitConnections : 10
42+ # # backend-idle-connections
43+ backendIdleConnections : 500
3944 # # Proxy® resource requests and limits
4045 # # ref: https://kubernetes.io/docs/user-guide/compute-resources/
4146 # # @param proxy.resources.limits The resources limits for the container
4247 # # @param proxy.resources.requests The requested resources for the container
4348 # #
4449 resources :
4550 limits :
46- cpu : 1
47- memory : 1Gi
51+ cpu : 4
52+ memory : 8Gi
4853 requests :
4954 cpu : 500m
5055 memory : 512Mi
Original file line number Diff line number Diff line change @@ -35,16 +35,21 @@ redis:
3535# # @section Proxy® statefulset parameters
3636# #
3737proxy :
38- maxProcs : 1
38+ # # max-procs
39+ maxProcs : 4
40+ # # backend-init-connections
41+ backendInitConnections : 10
42+ # # backend-idle-connections
43+ backendIdleConnections : 500
3944 # # Proxy® resource requests and limits
4045 # # ref: https://kubernetes.io/docs/user-guide/compute-resources/
4146 # # @param proxy.resources.limits The resources limits for the container
4247 # # @param proxy.resources.requests The requested resources for the container
4348 # #
4449 resources :
4550 limits :
46- cpu : 1
47- memory : 1Gi
51+ cpu : 4
52+ memory : 8Gi
4853 requests :
4954 cpu : 500m
5055 memory : 512Mi
Original file line number Diff line number Diff line change @@ -35,16 +35,21 @@ redis:
3535# # @section Proxy® statefulset parameters
3636# #
3737proxy :
38- maxProcs : 2
38+ # # max-procs
39+ maxProcs : 8
40+ # # backend-init-connections
41+ backendInitConnections : 10
42+ # # backend-idle-connections
43+ backendIdleConnections : 1000
3944 # # Proxy® resource requests and limits
4045 # # ref: https://kubernetes.io/docs/user-guide/compute-resources/
4146 # # @param proxy.resources.limits The resources limits for the container
4247 # # @param proxy.resources.requests The requested resources for the container
4348 # #
4449 resources :
4550 limits :
46- cpu : 2
47- memory : 4Gi
51+ cpu : 8
52+ memory : 16Gi
4853 requests :
4954 cpu : 1
5055 memory : 2Gi
Original file line number Diff line number Diff line change @@ -35,16 +35,21 @@ redis:
3535# # @section Proxy® statefulset parameters
3636# #
3737proxy :
38- maxProcs : 1
38+ # # max-procs
39+ maxProcs : 4
40+ # # backend-init-connections
41+ backendInitConnections : 10
42+ # # backend-idle-connections
43+ backendIdleConnections : 500
3944 # # Proxy® resource requests and limits
4045 # # ref: https://kubernetes.io/docs/user-guide/compute-resources/
4146 # # @param proxy.resources.limits The resources limits for the container
4247 # # @param proxy.resources.requests The requested resources for the container
4348 # #
4449 resources :
4550 limits :
46- cpu : 2
47- memory : 2Gi
51+ cpu : 4
52+ memory : 8Gi
4853 requests :
4954 cpu : 1
5055 memory : 1Gi
Original file line number Diff line number Diff line change @@ -35,16 +35,21 @@ redis:
3535# # @section Proxy® statefulset parameters
3636# #
3737proxy :
38- maxProcs : 1
38+ # # max-procs
39+ maxProcs : 4
40+ # # backend-init-connections
41+ backendInitConnections : 10
42+ # # backend-idle-connections
43+ backendIdleConnections : 500
3944 # # Proxy® resource requests and limits
4045 # # ref: https://kubernetes.io/docs/user-guide/compute-resources/
4146 # # @param proxy.resources.limits The resources limits for the container
4247 # # @param proxy.resources.requests The requested resources for the container
4348 # #
4449 resources :
4550 limits :
46- cpu : 1
47- memory : 1Gi
51+ cpu : 4
52+ memory : 8Gi
4853 requests :
4954 cpu : 500m
5055 memory : 512Mi
Original file line number Diff line number Diff line change @@ -35,16 +35,21 @@ redis:
3535# # @section Proxy® statefulset parameters
3636# #
3737proxy :
38- maxProcs : 2
38+ # # max-procs
39+ maxProcs : 8
40+ # # backend-init-connections
41+ backendInitConnections : 10
42+ # # backend-idle-connections
43+ backendIdleConnections : 1000
3944 # # Proxy® resource requests and limits
4045 # # ref: https://kubernetes.io/docs/user-guide/compute-resources/
4146 # # @param proxy.resources.limits The resources limits for the container
4247 # # @param proxy.resources.requests The requested resources for the container
4348 # #
4449 resources :
4550 limits :
46- cpu : 2
47- memory : 4Gi
51+ cpu : 8
52+ memory : 16Gi
4853 requests :
4954 cpu : 1
5055 memory : 2Gi
Original file line number Diff line number Diff line change @@ -35,16 +35,21 @@ redis:
3535# # @section Proxy® statefulset parameters
3636# #
3737proxy :
38- maxProcs : 1
38+ # # max-procs
39+ maxProcs : 4
40+ # # backend-init-connections
41+ backendInitConnections : 10
42+ # # backend-idle-connections
43+ backendIdleConnections : 500
3944 # # Proxy® resource requests and limits
4045 # # ref: https://kubernetes.io/docs/user-guide/compute-resources/
4146 # # @param proxy.resources.limits The resources limits for the container
4247 # # @param proxy.resources.requests The requested resources for the container
4348 # #
4449 resources :
4550 limits :
46- cpu : 2
47- memory : 2Gi
51+ cpu : 4
52+ memory : 8Gi
4853 requests :
4954 cpu : 1
5055 memory : 1Gi
Original file line number Diff line number Diff line change @@ -35,16 +35,21 @@ redis:
3535# # @section Proxy® statefulset parameters
3636# #
3737proxy :
38- maxProcs : 1
38+ # # max-procs
39+ maxProcs : 4
40+ # # backend-init-connections
41+ backendInitConnections : 10
42+ # # backend-idle-connections
43+ backendIdleConnections : 500
3944 # # Proxy® resource requests and limits
4045 # # ref: https://kubernetes.io/docs/user-guide/compute-resources/
4146 # # @param proxy.resources.limits The resources limits for the container
4247 # # @param proxy.resources.requests The requested resources for the container
4348 # #
4449 resources :
4550 limits :
46- cpu : 1
47- memory : 1Gi
51+ cpu : 4
52+ memory : 8Gi
4853 requests :
4954 cpu : 500m
5055 memory : 512Mi
You can’t perform that action at this time.
0 commit comments