Skip to content

Outpost Sessions w/ HA #18098

@christensenjairus

Description

@christensenjairus

Describe your question/
I'm trying to deploy a proxy outpost on k8s w/ a multi-replica deployment. I've used the manual k8s proxy outpost from the documentation and set the few required env variables. The sessions are being stored in /dev/shm, and I can't seem to load balance correctly to get the session stickiness to work consistently.

I'm using Istio, and I've tried messing w/ the destinationrule's loadBalancer.consistentHash fields, but it doesn't seem to work well for this.

I read this issue which says anything besides the embedded outpost doesn't save sessions anywhere besides memory, so we should either have one replica or configure stickiness.

However, is there a way we can get session caching to save to anywhere besides /dev/shm, like on a normal filesystem so that I can mount a volume to all pods & have them share the session files?

Or maybe if you could point me in the right direction for how to configure envoy stickiness?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestenhancement/under_considerationEnhancements that might be implemented in the future based on community interest.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions