Kubernetes & AWS ELB (OD-2375)
Lance Haynie opened 9 months ago

I have OneDev installed as a statefulset in Kubernetes (3 replicas, High Availability & Scalability looks fine in the admin page) with a LoadBalancer (Elastic Load Balancer in AWS). I setup session stickiness using ELB, however, I think there a few issues I can't seem to resolve. The front end seems to refresh itself randomly, and I can't seem to figure out why. I have been trying to test out the build process but I can't make it through the form without it refreshing and losing all of my progress. There are no errors on the server itself, but there is one error in the developer console of Chrome that consistently states websocket connection failed.

P.S.: The documentation for the k8s install should state you need to remove the initial settings after it comes up. I used the helm chart to initially install but it would keep reverting and wanting me to finalize my install. Finally, I installed everything manually without Helm and had the same issue. One of my employees suggested removing the initial environment variables as a test, and that fixed the problem.

  • Robin Shen commented 9 months ago

    Thanks for the feedback. Will check and let you know the result.

  • Lance Haynie commented 9 months ago

    @robin any update on this or anything we can try?

  • Robin Shen commented 9 months ago

    I haven’t had a chance to look into this yet, but hope to get to it sometime this week

  • Lance Haynie commented 9 months ago

    @robin We may have found a way to make it work, while I like ELB it was causing a few other errors as well with large clones and pushing packages. We reverted back to an nginx ingress and just installed a certificate there and all of the problmes, for now, seem to have gone away. I suppose ELB just doesn't work for OneDev.

  • Robin Shen changed fields 9 months ago
    Name Previous Value Current Value
    Type
    Question
    Improvement
  • Robin Shen commented 9 months ago

    I tested this briefly and it does have issues as you mentioned. Coverted as an improvement request for future versions.

  • alion commented 8 months ago

    I'm also encountering this issue, which is quite annoying. Do you have any idea when the next version might be released?😄

issue 1/1
Type
Improvement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2375
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover