HAProxy Kubernetes Ingress Controller: memory consumption at startup

Working on HAProxy Ingress Controller for Kubernetes (3.2.6) i see reloads every few seconds if the memory allocation is not above 500Mib. When running the footprint is very low, but if allocated less (>500Mib) HAProxy keeps on reloading every few seconds. It does not enter ‘normal’ operations.

To reduce base consumption I set maxconns to 2020, as well as tune.ssl.cachesizeglobally.

 global-config-snippet: |
    tune.ssl.cachesize 2020
  maxconn: "2020"

HTTP/HTTPS frontends then have a limit of 1000 connections each.

Nevertheless this does not allow for lower requests/limits (i thought of something like 256Mib requests/limits). Is this expected?

I suggest you file an issue here:

Thanks.
See: Issue #799 - High memory limit needed for starting HAProxy Ingress Controller