Skip to content

Add .spec.service.disableTopologyRouting to clear topology annotations#750

Merged
leochr merged 6 commits intomainfrom
disable-topology
Mar 2, 2026
Merged

Add .spec.service.disableTopologyRouting to clear topology annotations#750
leochr merged 6 commits intomainfrom
disable-topology

Conversation

@kabicin
Copy link
Collaborator

@kabicin kabicin commented Feb 19, 2026

What this PR does / why we need it?:

  • Adds .spec.service.disableTopology boolean. When set to true it clears topology annotations on the Service. Topology annotations are enabled by default.
  • Deprecates old topology annotation service.kubernetes.io/topology-aware-hints and uses service.kubernetes.io/topology-mode only.

Does this PR introduce a user-facing change?

  • User guide
  • CHANGELOG.md

Which issue(s) this PR fixes:

Fixes #

Copy link
Member

@leochr leochr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kabicin Thanks for the updates. Added couple of minor comments.

SessionAffinity *RuntimeComponentServiceSessionAffinity `json:"sessionAffinity,omitempty"`

// Disables topology routing annotations from being added to the Service. Defaults to false.
// +operator-sdk:csv:customresourcedefinitions:order=20,type=spec,displayName="Disable Topology",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update displayName: Disable Topology --> Disable Topology Routing

Suggestion: Disable topology aware routing annotations from being added to the Service. Defaults to false.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, added a commit to address this

@kabicin kabicin marked this pull request as ready for review March 2, 2026 22:55
Copy link
Member

@leochr leochr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kabicin Looks good. Thank you.

@leochr leochr merged commit c28aae3 into main Mar 2, 2026
@leochr leochr deleted the disable-topology branch March 2, 2026 23:01
@kabicin kabicin changed the title Add .spec.service.disableTopology to clear topology annotations Add .spec.service.disableTopologyRouting to clear topology annotations Mar 2, 2026
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