Closed arkodg closed 4 months ago
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
Gateway API recently added support for Session Persistence (hard affinity), see details in https://gateway-api.sigs.k8s.io/geps/gep-1619/
It doesnt however add support to add more cookie attributes such as SameSite
, its rationale being it should be set to sane defaults e.g. Strict
https://gateway-api.sigs.k8s.io/geps/gep-1619/#secure-httponly-samesite
There are multiple instances where users may want to override this, see
@envoyproxy/gateway-maintainers please weigh in, I'm a +1 for
sessionPersistence
field within HTTPRoute using Stateful session filter https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/stateful_session/v3/stateful_session.proto#envoy-v3-api-msg-extensions-filters-http-stateful-session-v3-statefulsessionBackendLBPolicy
, it was specifically designed to support implementations without Route level support for session persistence, Envoy can support it, so imo lets reduce the number of ways to configure sessionPersistence
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
Description:
There is currently support for SourceIP based ConsistentHashing Loadbalancing https://github.com/envoyproxy/gateway/blob/1775624114aedee731bee565a0a100eeee80fc13/api/v1alpha1/loadbalancer_types.go#L62
Would be useful to also add cookie based consistent hashing support which enable sticky session / session affinity use cases