Click or drag to resize

KubeHelperSetCurrentContext Method (KubeContextName)

Sets the current Kubernetes config context.

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

Parameters

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