Skip to content

Align windrose-operator with production Envoy Gateway pattern - #1

Merged
surrealwolf merged 3 commits into
mainfrom
cursor/envoy-gateway-alignment-86e2
Jun 26, 2026
Merged

surrealwolf merged 3 commits into
mainfrom
cursor/envoy-gateway-alignment-86e2

Conversation

@surrealwolf

Copy link
Copy Markdown
Contributor

Summary

Updates the WindroseServer operator to match the live prd-apps / game-servers deployment pattern while keeping the official Linux image windroseserver/windroseserver.

Production uses Envoy Gateway with fixed Kube-VIP addresses, not LoadBalancer Services on the game pod. This PR aligns the operator accordingly.

Changes

  • Replace LoadBalancer exposure with Gateway + EnvoyProxy + TCPRoute/UDPRoute
  • Create ClusterIP {name} and {name}-envoy backend services (Envoy routes to -envoy)
  • Derive resource names to match production when CR is named windrose-server
  • Require spec.gateway.address (Kube-VIP IP, e.g. 192.168.14.186)
  • Keep official Docker image mounts (/home/ue_user/app/R5/Saved, ServerDescription.json)

Test plan

  • go test ./...
  • go build cmd/main.go

Replace LoadBalancer Services with the prd-apps game-servers model:
ClusterIP backend services, Gateway, EnvoyProxy, TCPRoute, and UDPRoute.
Resource naming matches the live windrose-server deployment while keeping
the official windroseserver/windroseserver Linux image and mount paths.
Derive CPU and memory requests/limits from Windrose hardware tiers
when spec.resources is unset. Setting spec.resources bypasses auto-selection.
Document the full spec, managed resources, naming conventions, status
fields, resource auto-selection, and comparison with windrose-server-k8s.
@surrealwolf
surrealwolf marked this pull request as ready for review June 26, 2026 05:38
@surrealwolf
surrealwolf merged commit dd0fab5 into main Jun 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant