-
Notifications
You must be signed in to change notification settings - Fork 9
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
Dev environment load balancing and routing issue #715
Labels
Milestone
Comments
placek
added a commit
that referenced
this issue
Apr 15, 2024
…names The commit adjusts the names of the routers in the Traefik configuration within the docker-compose.yml file. This modification ensures that the routers are distinctively named and do not share names with the services, enhancing clarity and manageability of the setup. By renaming the router identifiers, it becomes easier to differentiate them from the corresponding services, thus facilitating maintenance and troubleshooting of the configuration.
placek
added a commit
that referenced
this issue
Apr 15, 2024
The adjustments in this commit focus on correcting the indentation in the Traefik configuration section within the docker-compose.yml.tpl file. The changes entail ensuring consistent and proper alignment of the services' definitions, specifically the metadata-validation service, to enhance readability and maintainability. By reformatting the indentation, the Traefik configuration becomes more organized, facilitating easier navigation and understanding of the setup.
placek
added a commit
that referenced
this issue
Apr 15, 2024
The commit modifies the Traefik image version specified in the docker-compose.yml.tpl file from v2.10 to v3.0. By updating the Traefik image, we ensure compatibility with the necessary features and improvements introduced in version 3.0. This adjustment aligns with the user story's goal to enhance load balancing and routing setup in the dev environment by making sure that the configuration utilizes the latest Traefik version for more efficient backend service management and testing capabilities.
placek
added a commit
that referenced
this issue
Apr 15, 2024
The commit enhances the routing setup in the Traefik configuration within the docker-compose.yml.tpl file by implementing better priorities. By adjusting the priority of the router for the frontend service to 1, the routing for this service looses precedence, ensuring that frontend traffic is correctly directed. This change aims to optimize the routing logic, ensuring that the frontend service receives appropriate traffic allocation and improving the overall efficiency of the load balancing and routing setup in the dev environment. This is an actual fix of the problem stated in the related issue.
placek
added a commit
that referenced
this issue
Apr 15, 2024
…d balancer The commit enhances the Traefik configuration within the docker-compose.yml.tpl file by adding healthcheck configurations to the two primary backend services, `metadata-validation` and `backend`. These healthchecks include defining paths, ports, intervals, and timeouts for monitoring the health and status of the backend services. By implementing healthchecks, Traefik can periodically verify the availability and responsiveness of the backend services through specified endpoints, contributing to improved load balancing and routing efficiency. This change directly addresses the user story requirement to ensure the backend service is correctly defined, reachable, and functioning optimally in the dev environment for effective testing and debugging purposes.
placek
added a commit
that referenced
this issue
Apr 15, 2024
The changes made in this commit focus on enhancing the CORS configuration for the dev environment by adding an additional exception to allow specific origins. The modification includes appending "http://localhost:5173" to the list of allowed hosts when the environment is set to "dev." This adjustment aims to address Cross-Origin Resource Sharing (CORS) issues related to accessing services from different origins, ensuring that the specified host is permitted to interact with the backend service seamlessly.
placek
added a commit
that referenced
this issue
Apr 16, 2024
…d-balancing-and-routing-issue [#715] Dev environment load balancing and routing issue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a developer,
I want the backend service to be reachable in the dev environment through proper load balancing and routing setup
so that I can test and debug the backend functionality effectively.
Summary
The issue in the dev environment is that the backend service is not reachable, although the same configuration is functional in the test environment. The problem seems to stem from the dynamic configuration of the Traefik service, which is not detecting the backend part correctly and is not loading its setup properly, causing all traffic to be resolved to the frontend app.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: