Click or drag to resize

KubeHelperPortForward Method

Executes a kubectl port-forward command on the local workstation.

Namespace:  Neon.Kube
Assembly:  Neon.Kube (in Neon.Kube.dll) Version: 2.1.0
Syntax
public static void PortForward(
	string serviceName,
	int remotePort,
	int localPort,
	string namespace,
	Process process
)

Parameters

serviceName
Type: SystemString
The service to forward.
remotePort
Type: SystemInt32
The service port.
localPort
Type: SystemInt32
The local port to forward to.
namespace
Type: SystemString
The Kubernetes namespace where the service is running.
process
Type: System.DiagnosticsProcess
The Process to use.

Return Value

Type: 
The ExecuteResponse.
See Also