devspace-sh / devspace

DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
https://devspace.sh
Apache License 2.0
4.18k stars 351 forks source link

Allow devspace analyze to only report on pods created from devspace.yaml #1729

Open nachin opened 2 years ago

nachin commented 2 years ago

Is your feature request related to a problem? We currently generate preview environments for prs in the same namespace. We would like to be able to run devspace analyze when a deployment fails to help in debugging. Since analyze can only be scoped down to a namespace we are getting the report for all resources in the namespace and not just the deployment(s) we are interested in.

Which solution do you suggest? Have a flag that allowsdevspace analyze to scan only resources that would be generated from the devspace.yaml.

Which alternative solutions exist?

Additional context

/kind feature

FabianKramm commented 2 years ago

@nachin thanks for creating this issue! Yes we could add a flag for this