Files
cozystack/packages/apps/tcp-balancer
Andrei Kvapil 948163ad4b Don't overcommit memory (#913)
This patch recreates the resource presets with a non-burstable memory
allocation (request==limit) and without CPU limits. With the new presets
the difference between the larger presets became meaningless, so their
values were adjusted.

Resolves #912

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Updated resource presets across all application charts to remove CPU
limits, align memory limits with requests, and standardize memory units
for consistency.
- Adjusted CPU and memory request values for larger presets in several
applications.
  - Updated chart versions for all affected applications.
  - Refreshed version mappings to reflect latest commit hashes.
- Added explicit resource configuration for Redis in the dashboard
configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

(cherry picked from commit 2c6338a2ef)
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
2025-05-20 19:06:51 +03:00
..
2024-08-12 14:47:11 +02:00
2025-05-20 19:06:51 +03:00
2024-07-16 17:31:52 +02:00
2025-05-20 19:06:51 +03:00
2025-03-20 14:59:47 +03:00
2025-03-20 14:59:47 +03:00
2025-03-20 14:59:47 +03:00

Managed TCP Load Balancer Service

The Managed TCP Load Balancer Service simplifies the deployment and management of load balancers. It efficiently distributes incoming TCP traffic across multiple backend servers, ensuring high availability and optimal resource utilization.

Deployment Details

Managed TCP Load Balancer Service efficiently utilizes HAProxy for load balancing purposes. HAProxy is a well-established and reliable solution for distributing incoming TCP traffic across multiple backend servers, ensuring high availability and efficient resource utilization. This deployment choice guarantees the seamless and dependable operation of your load balancing infrastructure.

Parameters

Common parameters

Name Description Value
external Enable external access from outside the cluster false
replicas Number of HAProxy replicas 2

Configuration parameters

Name Description Value
httpAndHttps.mode Mode for balancer. Allowed values: tcp and tcp-with-proxy tcp
httpAndHttps.targetPorts.http HTTP port number. 80
httpAndHttps.targetPorts.https HTTPS port number. 443
httpAndHttps.endpoints Endpoint addresses list []
whitelistHTTP Secure HTTP by enabling client networks whitelisting false
whitelist List of client networks []
resources Resources {}
resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production). nano