Skip to content

Port Forwarding view#

In the Port Forwarding view, you can effectively manage Kubernetes Port Forwarding. Port Forwarding allows you to establish network connectivity to specific pods within your Kubernetes cluster, facilitating debugging, monitoring, and other operations. Lens provides a convenient interface for overseeing and controlling port forwarding activities. See Kubernetes Documentation: Use Port Forwarding to Access Applications in a Cluster for details.

The Port Forwarding table lists the cluster port forwarding operations. You can click the list items and open the details panel with comprehensive information and various options. You can also search for a specific item using the Search Port Forwarding input field.

You can resize and reorder the table columns. Drag the column border in the table header to change the width. To change the column position, drag its header left or right. Also, you can sort objects in ascending or descending order by clicking the header of a column and configure the column visibility. By default, the table consists of the following columns:

Note

The table content can be exported in the CSV file format.

Column Description
Name The name of the port forwarding configuration.
Namespace The namespace in which the port forwarding is established.
Kind The type of object being forwarded (e.g., Pod).
Pod Port The port within the pod being forwarded.
Local Port The local port on your machine to which the pod port is mapped.
Protocol The network protocol used for forwarding (e.g., TCP, UDP).
Status The current status of the port forwarding operation.
More Actions Clicking on the button opens a drop-down list with the following actions:
  • Open

    Opens the port forwarding configuration.

  • Edit

    Changes the configuration of the port forwarding.

  • Stop

    Stops the port forwarding operation.

  • Delete

    Removes the port forwarding configuration.