zalando-incubator / stackset-controller

Opinionated StackSet resource for managing application life cycle and traffic switching in Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Routegroup Algorithm Support

herojan opened this issue · comments

Right now, I don't believe there is a way to specify the load balancer algorithm to be used for the generated default backends in a route group.

i.e. https://github.com/zalando-incubator/stackset-controller/blob/master/pkg/core/stackset.go#L168 uses the default algorithm.

I would like to be able to say for the default backend to use consistenthash load balancer, for example.

@mikkeloscar @szuecs Does this feature request make sense? I made a pr for it anyway which I think works.

I think it does make sense. Seems like we forgot/didn't consider this use case when we first added support. I'll take a closer look at your PR a bit later today.