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

add vagrant plugin #457

Closed
wants to merge 1 commit into from
Closed

Conversation

huazhihao
Copy link
Contributor

kube-vagrant is a kubectl plugin to create a multi-node kubernetes cluster locally with vagrant, so you can quickly set up a dev cluster with one command line.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 26, 2020
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 26, 2020
@huazhihao huazhihao closed this Jan 26, 2020
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 26, 2020
@huazhihao huazhihao reopened this Jan 26, 2020
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 26, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: huazhihao
To complete the pull request process, please assign corneliusweig
You can assign the PR to them by writing /assign @corneliusweig in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: huazhihao
To complete the pull request process, please assign corneliusweig
You can assign the PR to them by writing /assign @corneliusweig in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 26, 2020
Copy link
Contributor

@corneliusweig corneliusweig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @huazhihao,

this is great work, but I'm not sure it qualifies for a good plugin. As far as I can tell, this is usually a one-time setup, so that the plugin gets to run just a single time. Scripts like these have also previously been rejected as plugins, because krew's focus is on repeatable commands. For example, there was a request to have a tiller installer for helm-2 which eventually got rejected (#87).

Let's hear @ahmetb's opinion about this.

Btw, this looks dangerous 😉 https://github.com/huazhihao/kube-vagrant/blob/c3eee010eea50be7fdfd9882c657b76a43d1bebe/kube-vagrant#L194

@ahmetb
Copy link
Member

ahmetb commented Jan 27, 2020

Yes, cluster bootstrap tooling it not great for plugins.
Similarly Vagrant is a trademark of HashiCorp so we’ll not be able to accept it.
You’re free to still distribute it outside krew, however.

@huazhihao
Copy link
Contributor Author

thanks @corneliusweig @ahmetb for your review comments. I will leave it as-is.

@huazhihao huazhihao closed this Jan 27, 2020
@huazhihao
Copy link
Contributor Author

Hey @huazhihao,

this is great work, but I'm not sure it qualifies for a good plugin. As far as I can tell, this is usually a one-time setup, so that the plugin gets to run just a single time. Scripts like these have also previously been rejected as plugins, because krew's focus is on repeatable commands. For example, there was a request to have a tiller installer for helm-2 which eventually got rejected (#87).

Let's hear @ahmetb's opinion about this.

Btw, this looks dangerous 😉 https://github.com/huazhihao/kube-vagrant/blob/c3eee010eea50be7fdfd9882c657b76a43d1bebe/kube-vagrant#L194

that wasn't under home directory.

@corneliusweig
Copy link
Contributor

that wasn't under home directory.

As far as I can tell, the directory is unspecified. So it could be any directory, including $HOME. Right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants