argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
17.59k stars 5.36k forks source link

Provide some way to mass delete resources #5150

Open jsoref opened 3 years ago

jsoref commented 3 years ago

Summary

Mass delete / mass restart / mass ...

Motivation

I found 184 orphaned resources. Some of them are actually system resources, but a whole bunch of them are indeed orphaned. Having to click ⋮, click delete, and then click ok, for 100+ resources is a bit too painful, even for me.

Proposal

Provide a select mode (similar to the checkbox to show orphaned resources) where one can click a checkbox in a resource to select it, and once at least one resource is checked, include a toolbar (top? bottom?) with actions that would apply to all checked resources. It's ok to only show actions that apply to all selected resources.

jessesuen commented 3 years ago

Good idea.

yabeenico commented 2 years ago

I think selecting labels of resources is also good idea.