Kubernetes icon

Kubernetes

Interact with Kubernetes

Services → Port Forward

AI-generated

Overview

This node interacts with Kubernetes clusters to perform various operations on Kubernetes resources. Specifically, the 'Port Forward' operation establishes a port forwarding session to a specified Kubernetes service, allowing local access to the service's ports. This is useful for debugging, accessing internal services, or securely connecting to services without exposing them externally.

Use Case Examples

  1. Forward a local port to a Kubernetes service port to access an internal web application.
  2. Debug a service by forwarding its port and inspecting traffic locally.

Properties

Name Meaning
Resource The Kubernetes resource type to operate on, here it is 'Services' for the port forwarding operation.
Resource Name The name of the specific Kubernetes service to port forward.

Output

JSON

  • json - The result of the port forwarding operation, typically connection details or status.

Dependencies

  • Requires Kubernetes API credentials to authenticate and interact with the cluster.

Troubleshooting

  • Ensure Kubernetes credentials are correctly configured and valid; missing or invalid credentials will cause errors.
  • The 'Resource Name' parameter is mandatory; omitting it will result in an error indicating the resource name is required.
  • Network or permission issues in the Kubernetes cluster may prevent successful port forwarding.

Links

Discussion