radius-project / radius

Radius is a cloud-native, portable application platform that makes app development easier for teams building cloud-native apps.
https://radapp.io
Apache License 2.0
1.49k stars 96 forks source link

Replace the API service extension for the UCP with port forwarding #7944

Open brooke-hamilton opened 1 month ago

brooke-hamilton commented 1 month ago

Area for Improvement

Replace the UCP API server extension with port forwarding to the control plane. This would involve removing the integration with the API service and replacing it with a port forward rule, plus invoking the existing Kubernetes authentication. The CLI logic would create/teardown the port forwarding as needed.

The overall benefit will be scalability due to the removal of the Radius dependence on the API service.

An example of this approach is in Argo CD: https://github.com/argoproj/argo-cd/blob/master/pkg/apiclient/apiclient.go#L206

See also this issue comment.

This issue will require design.

Observed behavior

No response

Desired behavior

Update the CLI to use the port forwarding mechanism rather than communicating through the server extension.

Proposed Fix

This change would require a small design and approval.

rad Version

any

Operating system

No response

Additional context

No response

Would you like to support us?

AB#13216

radius-triage-bot[bot] commented 1 month ago

:wave: @brooke-hamilton Thanks for filing this issue.

A project maintainer will review this issue and get back to you soon.

We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue.

For more information on our triage process please visit our triage overview

radius-triage-bot[bot] commented 1 month ago

:wave: @brooke-hamilton we need more information.

To help us investigate further, we need additional information to reproduce or understand this issue. Please ensure you have steps to reproduce and information about your OS, rad CLI version, and runtime version.

A project maintainer will reply on this issue soon to ask for additional specifics if needed.

For more information on our triage process please visit our triage overview

radius-triage-bot[bot] commented 1 month ago

:+1: We've reviewed this issue and have agreed to add it to our backlog. Please subscribe to this issue for notifications, we'll provide updates when we pick it up.

We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue.

For more information on our triage process please visit our triage overview