Skip to content

Cleanup: Replace manual port-forward implementation with kubectl PortForwardOptions #137058

@omerap12

Description

@omerap12

With #136799, we introduced the doRequestWithPortForward helper, which manually sets up port-forwarding.

Instead of maintaining a custom port-forward implementation, we should replace this logic by directly invoking kubectl’s existing implementation via PortForwardOptions.RunPortForwardContext.

Ref: #136799 (comment)
/triage accepted
/good-first-issue
/sig autoscaling
/kind cleanup

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.sig/autoscalingCategorizes an issue or PR as relevant to SIG Autoscaling.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions