Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supply kubeconfig in examples and simplify CLI #2

Open
childsb opened this issue Oct 26, 2016 · 1 comment
Open

Supply kubeconfig in examples and simplify CLI #2

childsb opened this issue Oct 26, 2016 · 1 comment

Comments

@childsb
Copy link
Contributor

childsb commented Oct 26, 2016

It would be nice to trim down the CLI args of the standalone / out of kube flavor.

Some ideas-

  • if master URL is specified, assume out of cluster
  • in the container always read kubeconfig from /kubeconfig (or similar). then in the deployment/build show examples populating /kubeconfig as a docker volume with -v.. like docker run .... -v ~/.kube:/kubeconfig. also include example kubeconfig w/localhost in deploy/kube/config docker run .... -v ./deploy/kube/config:kube:/kubeconfig . then if /kubeconfig/config exists you can infer that its running out of cluster.
@wongma7
Copy link
Owner

wongma7 commented Oct 28, 2016

OK, I got rid of the out-of-cluster flag, and added docker -v flag to the example, master and kubeconfig flags still work the same though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants