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

Ability to configure port forwarding in kubernetes environment #7078

Open
4 tasks
vzhukovs opened this issue May 3, 2024 · 6 comments · May be fixed by #7379
Open
4 tasks

Ability to configure port forwarding in kubernetes environment #7078

vzhukovs opened this issue May 3, 2024 · 6 comments · May be fixed by #7379
Assignees
Labels
area/kubernetes ☸️ kind/enhancement ✨ Issue for requesting an improvement

Comments

@vzhukovs
Copy link
Contributor

vzhukovs commented May 3, 2024

Is your enhancement related to a problem? Please describe

Due to analysing previous feedbacks. There was a feature request that is missing in Podman Desktop. The feature called Port Forwarding. It should represent kubectl port-forward cli command.

Describe the solution you'd like

Need to create the backend implementation, which will serve port forwards and UI dedicated page to control the port forwarding state.

Main things that need to be implemented:

Describe alternatives you've considered

No response

Additional context

No response

@benoitf
Copy link
Collaborator

benoitf commented May 4, 2024

@vzhukovs looks like the description of the issue is empty and not matching our templates

@vzhukovs
Copy link
Contributor Author

@benoitf I've updated the issue description to met the current requirements

@vzhukovs vzhukovs linked a pull request May 30, 2024 that will close this issue
1 task
@cdrage
Copy link
Contributor

cdrage commented May 30, 2024

With regards to UI, we'll most likely have to add it as well as a separate section similar to how we list services, deployments, etc.

This is usually standard on other UI's as well I've seen.

@vzhukovs
Copy link
Contributor Author

With regards to UI, we'll most likely have to add it as well as a separate section similar to how we list services, deployments, etc.

This is usually standard on other UI's as well I've seen.

Yep, it definitely should be a dedicated page on the UI to manage the forwards. The main idea is to have the list of forwards with start/stop and edit/delete buttons on each item. In the top there can be a create button that will open a form to create a new forward with necessary input fields. Each item in the list can represent a single port mapping or a bulk one. A bit later will try to make some mockups for it to have agree on the final UI version.

@vzhukovs vzhukovs linked a pull request May 30, 2024 that will close this issue
1 task
@cdrage
Copy link
Contributor

cdrage commented May 30, 2024

@vzhukovs I also want to ask if we will be supporting any controller / service / pod?

Looking through the kubectl port-forward --help, it supports doing port forwarding on a deployment, pod and service.

I'm assuming we'll be adding it as an action to all of them?

@vzhukovs
Copy link
Contributor Author

vzhukovs commented May 30, 2024

I also want to ask if we will be supporting any controller / service / pod?

@cdrage the backend code supports forwarding ports from pods, deployments, services (simple numeric ports and named ports), the only one limitation at this moment is that everything forwards to localhost, passing different host address will be implemented in the future PRs. It depends, what workload kind we will pass to the backend side from the UI.

The main idea is to allow user to select where ports will be taken to forward. Some kind of selection input in create forward configuration dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes ☸️ kind/enhancement ✨ Issue for requesting an improvement
Projects
Status: 🚧 In Progress
Development

Successfully merging a pull request may close this issue.

4 participants