Skip to content

Add scalable platform service route policies - #27

Merged
scotwells merged 7 commits into
mainfrom
feat/service-route-policy-api
Oct 7, 2026
Merged

scotwells merged 7 commits into
mainfrom
feat/service-route-policy-api

Conversation

@scotwells

@scotwells scotwells commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add the control-plane API for attachment-scoped platform services.

Scope

  • Add ServiceEndpoint and ServiceRoutePolicy API types.
  • Select one or more Cloud API VPCAttachment service replicas by explicit reference or label selector.
  • Support NodeLocal and PreferNodeLocal: the latter chooses a ready same-node replica first and falls back to a remote replica while preserving the consumer source address.
  • Select consumer attachments by authoritative labels and optional region.
  • Limit policy ports to the endpoint contract and expose a durable Accepted condition with observedGeneration.
  • Generate deepcopy code, CRDs, and API reference docs.

Galactic PR #634 consumes this API and programs attachment-scoped TC-eBPF state without exposing service routes in consumer instances.

Validation

go test ./api/v1alpha1/...

@scotwells
scotwells force-pushed the feat/service-route-policy-api branch from b037f63 to bf0955a Compare October 6, 2026 16:35
@scotwells
scotwells marked this pull request as ready for review October 7, 2026 20:00
@scotwells
scotwells requested a review from a team as a code owner October 7, 2026 20:00
@scotwells
scotwells merged commit 31e97f0 into main Oct 7, 2026
6 checks passed
@scotwells
scotwells deleted the feat/service-route-policy-api branch October 7, 2026 20:00
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.

2 participants