Skip to content

Instantly share code, notes, and snippets.

@iocanel
Last active August 29, 2015 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iocanel/7023de7cfbbf89ed7e35 to your computer and use it in GitHub Desktop.
Save iocanel/7023de7cfbbf89ed7e35 to your computer and use it in GitHub Desktop.
Kubernetes client with custom config
//Client with custom config
Config config = new ConfigBuilder()
.withMasterUrl(url)
.withTrustCerts(true)
.withOauthToken(mytoken)
.build();
KubernetesClient = new DefaultKubernetesClient(config);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment