Coder Social home page Coder Social logo

Comments (2)

nanux avatar nanux commented on August 23, 2024

Hi @smarch730, can you please elaborate a bit about your network setup?

My understanding is that you are using ALB Ingress Controller. Did you also setup its session affinity annotations within Ingress object? For Nginx we define these (Nginx specific):

"nginx.ingress.kubernetes.io/affinity": "cookie"
"nginx.ingress.kubernetes.io/affinity-mode": "persistent"

I believe for ALB you will need to include similar annotations. Or do you change some other parts of the helm chart that solved the problem for you?

If you can share your setup - values.yaml file (redact any sensitive information) and also the change that helped you to solve the problem, it would be easier to discuss the suggestion in detail.

Thank you

from data-center-helm-charts.

smarch730 avatar smarch730 commented on August 23, 2024

Hi nanux, thanks for your reply.

I did look through the annotations for the controller and did not see anything similar to nginx controllers afiinity options. After further reading of the aws documentation on the AWS Load Balancer controller I noticed one line I previously missed:

"ip mode is required for sticky sessions to work with Application Load Balancers."
ref - https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.2/guide/ingress/annotations/#target-type

My build still had targetType of 'instance' set, and one idea I had to fix this was to change it at the service level (as states in my orignal comment). Changing my instance type to IP fixed the session problems.

Cheers.

from data-center-helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.