vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.41k stars 1.37k forks source link

Need velero plugin [delete update] command #3083

Open ashish-amarnath opened 3 years ago

ashish-amarnath commented 3 years ago

Describe the problem/challenge you have Users of Velero need to be able to delete and update plugins without having to hand-edit the Velero deployment.

Describe the solution you'd like Implement velero plugin delete and velero plugin update command

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

survivant commented 3 years ago

real usecase :

I have openebs/velero-plugin:2.2.0 installed, but the version 2.3.0 was released yesterday. How can I update it ?

1 - Velero need a way to easily remove any plugin installed

2 - Velero need a way to update a plugin (Could call : delete followed by install). I don't know if the plugin have configuration, but if it's the case, the configuration need to be kept for a update

jenting commented 3 years ago

related to #3039

dsu-igeek commented 3 years ago

@carlisia Please consider this as part of CLI/Carvel work

eleanor-millman commented 2 years ago

@blackpiglet Was this ever done as part of the Carvel work?

blackpiglet commented 2 years ago

@eleanor-millman No. Velero Carvel package doesn't support modifying plugins. Plugins setting is setup according to the provider by now. Didn't consider this case before. This can be done by adding some new values and conditions checking.

reasonerjt commented 2 years ago

I think it involve two areas of work: 1) Add subcommand to CLI which patches velero pod and restart 2) Evolve the plugin framework of plugin to explore if it's possible to update the plugin binary registration without restarting the pod.

We may resolve this issue if 1) is fixed.