Skip to content

Pass xRoute Status object instead of entire xRoute object using watchable #1367

Closed

Description

@arkodg

Description:
The status for xRoute resources is computed in the gateway-api layer and published, and subscribed by the provider layer using watchable

GatewayStatuses watchable.Map[types.NamespacedName, *gwapiv1b1.Gateway]

This structure can be optimized to only publish the status object such as https://github.com/kubernetes-sigs/gateway-api/blob/964e20fbdfafbcbf410d774419fec13ddaae1304/apis/v1beta1/httproute_types.go#L1015 instead of passing the entire xRoute object.

This should reduce memory use in the system

Relates to #1365

Activity

  1. added
    kind/enhancement
    help wanted
    good first issue
    on Apr 26, 2023
  2. added this to the 0.5.0-rc1 milestone on Apr 26, 2023
  3. self-assigned this
    on May 1, 2023
  4. removed
    good first issue
    help wanted
    on May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/performancekind/enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions