-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes stuck deployment #97
base: main
Are you sure you want to change the base?
Conversation
This PR only addresses the issue on K8s. I did not check Docker to see if the issue exists. |
issue exists on docker too |
Ah. I read through the Docker compose file and it looks alright to me though 🤔 Can you check what address is being used in the WebSocket communication in your deployment? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think new deployments/services needed to be setup based on the latest updates in docker images.
value: ws://transactor:3333;ws://localhost:3333 | ||
valueFrom: | ||
configMapKeyRef: | ||
name: huly-config | ||
key: TRANSACTOR_URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should stay unchanged, account pod doesn't need to use ingress to reach transactor service.
TRANSACTOR_URL in config needs to be used by frontend. That change should be done in frontend code, not in deployment manifests. Last time I checked it (front pod) was using localhost which would cause problem when reaching frontend through proxy.
This pull request fixes issue #45 Thanks to @muradbozik for pointing out the solution and @FireflyHacker for confirming the solution.
Environment variable updates:
kube/account/account-deployment.yaml
: Changed theTRANSACTOR_URL
environment variable to use aconfigMapKeyRef
instead of a hardcoded value.Ingress settings updates:
kube/transactor/transactor-ingress.yaml
: Added annotations to enable WebSocket support and set proxy timeouts. Updated the host and port number to match the service configuration.Service port configuration:
kube/transactor/transactor-service.yaml
: Changed the service port from 80 to 3333 and set the service type toClusterIP
.