stunner icon indicating copy to clipboard operation
stunner copied to clipboard

Feature: Further Customizations to Stunner Gateway Services

Open simplysoft opened this issue 8 months ago • 3 comments

It would be great if it would be possible to further customize the services that are being created (continuation of #32). The things we are currently missing are:

  • loadBalancerClass
  • ipFamilyPolicy
  • ipFamilies

simplysoft avatar Apr 19 '25 10:04 simplysoft

Could you please elaborate? Why you need this, use cases where this can be useful, etc. Thanks

rg0now avatar Apr 22 '25 06:04 rg0now

We are using metallb as load balancer, but configured with load balancer class metallb. As we are using multiple load balancer implementation on bare metal (depending on the use case), we explicitly require setting a load balancer class. When no load balancer class is set, the services stunner creates do not get load balancer ips (there is no load balancer implementation that acts on empty / undefined loadbalancer class)

We are also running our cluster in dual stack mode, so we need to also customize ipFamilyPolicy and ipFamilies so that stunner gets more than just legacy-ip (ipv4)

simplysoft avatar Apr 22 '25 09:04 simplysoft

Thanks. As a quick workaround, you can create STUNner's LB Service manually: just set stunner.l7mp.io/service-type: ClusterIP on your GW, clone the resultant Service and customize the fields you want. I'll add this to the TODO list.

rg0now avatar Apr 22 '25 09:04 rg0now

Currently this change is not planned since there's a manual workaround (even if not the most comfortable one). Closing this in preparation for a release, feel free to reopen if the manual workaround fails or the issue us really affecting you.

rg0now avatar Aug 29 '25 11:08 rg0now