port_forward
Forward a Kubernetes pod, deployment, or service to an external port, enabling access to resources outside the cluster. Specify the object, namespace, and ports for deployment.
Instructions
Port forward a resource to the outside world k8s_object can be a pod, deployment or a service and it should be in the format pod/<name>, deployment/<name>, service/<name>
Input Schema
Name | Required | Description | Default |
---|---|---|---|
k8s_object | Yes | ||
name | Yes | ||
namespace | No | default | |
port | No | ||
target_port | No |