Class 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 Detail

      • ConfigUseContext

        public ConfigUseContext()
    • Method Detail

      • main

        public static void main​(String[] args)