Skip to content

Support session affinity via Ingress annotation #516

@lornemet-eno

Description

@lornemet-eno

ingress.kubernetes.io/affinity annotation is currently discarded.
The expected behavior would be to disable/enable session affinity based on the annotations value:
none (default) -> NONE
cookie -> GENERATED_COOKIE
??? -> CLIENT_IP

While simply turning on session affinity in the GCE ingress itself would not enable session affinity down to the POD (GCE would still send traffic to the NodePort of computes in the resourcegroup, which would not care about HTTP cookies), but would eliminate the need of manual/out-of-kubernetes configuration if additional measures are implamented (ie deployment -> daemonset, or pod antiaffinity + externalTrafficPolicy: Local).

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions