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/, deployment/, service/
Input Schema
Name | Required | Description | Default |
---|---|---|---|
k8s_object | Yes | ||
name | Yes | ||
namespace | No | default | |
port | No | ||
target_port | No |
Input Schema (JSON Schema)
{
"properties": {
"k8s_object": {
"title": "K8S Object",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"namespace": {
"default": "default",
"title": "Namespace",
"type": "string"
},
"port": {
"default": 80,
"title": "Port",
"type": "integer"
},
"target_port": {
"default": 80,
"title": "Target Port",
"type": "integer"
}
},
"required": [
"k8s_object",
"name"
],
"title": "port_forwardArguments",
"type": "object"
}