Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tmpnet] Update URI and StakingAddress usage in support of kube #3665

Draft
wants to merge 1 commit into
base: tmpnet-remove-save-port
Choose a base branch
from

Conversation

marun
Copy link
Contributor

@marun marun commented Jan 20, 2025

Why this should be merged

Previously, Node.URI and Node.StakingAddress fields contained values for a local process and were always locally accessible. Nodes running in kubernetes may be running remotely, though, and only be accessible if e.g. a local port is forwarded to the port of a node's pod. To ensure compatibility with forwarded URIs and StakingAddresses, callers that aren't guaranteed to be running locally to a node are updated to access these values via functions that can ensure a remote endpoint is forwarded if the target node isn't running locally.

How this was tested

CI

Need to be documented in RELEASES.md?

N/A

Previously, Node.URI and Node.StakingAddress fields contained values
for a local process and were always locally accessible. Nodes running
in kubernetes may be running remotely, though, and only be accessible
if e.g. a local port is forwarded to the port of a node's pod. To
ensure compatibility with forwarded URIs and StakingAddresses, callers
that aren't guaranteed to be running locally to a node are updated to
access these values via functions that can ensure a remote endpoint is
forwarded if the target node isn't running locally.
@marun marun added the testing This primarily focuses on testing label Jan 20, 2025
@marun marun self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing This primarily focuses on testing
Projects
Status: In Review 👀
Development

Successfully merging this pull request may close these issues.

1 participant