GCP / GKE Deploy
This is the first-pass cloud deployment path for YU02-lmax-kubernetes.
Assumptions:
- GKE Standard cluster already exists and
kubectlpoints at it. - Artifact Registry auth is already configured with
gcloud auth configure-docker. - The generated state is current.
Recommended sequence:
- Generate the state.
- Build and push the 10 TraderX app images to Artifact Registry.
- Render a GKE-safe manifest set from the generated Kubernetes base.
- Apply the manifest set to the cluster.
- Wait for the
edge-proxyLoadBalancerendpoint. - Smoke the public UI and API explorer.
Commands:
bash pipeline/generate-state.sh YU02-lmax-kubernetes
bash scripts/push-state-YU02-lmax-kubernetes-gke-images.sh \
us-east1-docker.pkg.dev/traderx-501015/traderx
bash scripts/deploy-state-YU02-lmax-kubernetes-gke.sh \
us-east1-docker.pkg.dev/traderx-501015/traderx
Important first-pass decisions:
- Keep the current in-cluster Postgres deployment.
- Keep the current
order-matcherPVC and let GKE dynamically provision storage. - Use
LoadBalanceronedge-proxyinstead of the localNodePortshape. - Start with wildcard CORS for cloud bring-up, then tighten once the public hostname is stable.