Class ConfigUseContext
- java.lang.Object
-
- io.fabric8.kubernetes.examples.kubectl.equivalents.ConfigUseContext
-
public class ConfigUseContext extends Object
Java equivalent of `kubectl config use-context my-cluster-name`. You can specify a different context before creating the client(which may be different from current context in your KubeConfig). Changing context after creation of client is not supported right now: https://github.com/fabric8io/kubernetes-client/issues/1512
-
-
Constructor Summary
Constructors Constructor Description ConfigUseContext()
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
-