Geo: Fix GDK defaults for primary and secondary
What does this merge request do and why?
It simplifies the Vite setup by directly editing the gdk.yml for primary and secondary, and disables the topology service in the secondary site.
The topology service is bound to port 9090 so only one should be running at any time.
Reference: Geo: Topology service fails to start on seconda... (#3116)
How to set up and validate locally
- Follow the steps to
Add a secondary Geo sitefrom the How-to guide, making sure this branch is checked out on your existing GDK (primary). - Check gdk status after the installation completed successfully:
- there should be a service for
vitebut notwebpackin either GDKs; - there should not be a
gitlab-topology-servicein gdk2.
- there should be a service for
- Navigate to
localhost:3001and receive no errors.
Impacted categories
The following categories relate to this merge request:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Merge request checklist
-
This MR references an issue describing the change. -
This change is backward compatible. If not, include steps to communicate to users. -
Tests added for new functionality. If not, raise an issue to follow-up. -
Observability added/updated (logging, metrics, tracing). -
Documentation added/updated. -
Announcement added for notable changes. -
gdk doctortest added.
Edited by Chloe Fons