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 --plugins flag to velero install to allow plugins to be included at install time #1740

Closed
skriss opened this issue Aug 8, 2019 · 10 comments · Fixed by #1930
Closed

Add --plugins flag to velero install to allow plugins to be included at install time #1740

skriss opened this issue Aug 8, 2019 · 10 comments · Fixed by #1930
Assignees
Labels
Area/Plugins Issues related to plugin infra/internal plugins Enhancement/User End-User Enhancement to Velero
Milestone

Comments

@skriss
Copy link
Contributor

skriss commented Aug 8, 2019

velero install should allow 1+ plugins to be installed during the main install process. This would allow out-of-tree cloud providers and other plugins to be installed seamlessly, without requiring a restart.

@skriss skriss added this to the v1.2 milestone Aug 8, 2019
@skriss skriss added P1 - Important Area/Plugins Issues related to plugin infra/internal plugins labels Aug 8, 2019
@skriss
Copy link
Contributor Author

skriss commented Aug 8, 2019

xref #1537

@nrb
Copy link
Contributor

nrb commented Aug 8, 2019

IMO, the values for --plugin should be container image URLs that would be passed into velero plugin add today.

@tlvenn
Copy link

tlvenn commented Aug 19, 2019

This would be great as it would open the path to support this with the helm chart and to have a declarative / terraform compatible way of managing those plugins.

@tlvenn
Copy link

tlvenn commented Aug 19, 2019

But actually it's 2 distinct paths given the helm chart is not invoking the cli to install velero... I should open a separate issue to track this.

@carlisia
Copy link
Contributor

carlisia commented Sep 5, 2019

An issue for the Helm change was created: #1819

@nrb nrb self-assigned this Sep 11, 2019
@nrb
Copy link
Contributor

nrb commented Sep 17, 2019

Per discussion with the team, we're going to, for the time being, make installation a 2 step process - running velero install to generate the necessary objects in cluster, and velero plugin add to add any relevant object or snapshot plugins.

This is mostly temporary to get things split up per #1870. Longer term, we want to revisit how plugins are handled holistically so we have a clearer answer for how things like secrets may be handled, and the possibility of making plugins run as sidecars instead of init containers.

@skriss
Copy link
Contributor Author

skriss commented Sep 19, 2019

What's the reasoning for not adding the flag to velero install? IMHO it's simpler for the user to include it as part of the install command, and since it's required for velero to be functional, would be better to make it an atomic part of the install.

I'm fine revisiting things down the road, but I'm failing to see how making it a separate step right now is better than this.

@nrb
Copy link
Contributor

nrb commented Sep 19, 2019

What's the reasoning for not adding the flag to velero install?

This came up as confusing during one of our discussions on the implementations. A 2 step process was proposed, one for getting the resources into the cluster and one for installing the plugins. That's possible today.

I'm fine with adding the --plugins flag if the rest of the team is.

@carlisia
Copy link
Contributor

It's fine by me.

@skriss
Copy link
Contributor Author

skriss commented Sep 19, 2019

To be clear, I definitely think there's room for improvement here in the install & setup flow, the relationships between plugin images, names, and BSLs/VSLs, what we validate at server startup, etc. that we should take a holistic look at - but I propose doing that separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Plugins Issues related to plugin infra/internal plugins Enhancement/User End-User Enhancement to Velero
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants