Click or drag to resize

KubeHelperSetCurrentContext Method (String)

Sets the current Kubernetes config context by string name.

Namespace:  Neon.Kube
Assembly:  Neon.Kube (in Neon.Kube.dll) Version: 2.1.0
Syntax
public static void SetCurrentContext(
	string contextName
)

Parameters

contextName
Type: SystemString
The context name of null to clear the current context.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the context specified doesnt exist.
See Also