We use oc new-app to create a set of dc,bc,is,service,router ,
So If there any method delete this app also delete related resource like oc delete app or oc delete-app
I don't know about such a command, so you have to use oc delete for each resource that have been created. If you're sure that in the current project no other resources except those that were created by oc new-app then you can use oc delete all --all.
CC @openshift/devex
oc new-app labels everything that it creates, by default with app=<generated name>. You can use -l to customise the label(s) added to create resources. To delete, do oc delete all -l app=<generated name> (or whatever labels you set).
Thanks
If you keep in mind kubectl how it works, you will understand the solution of @jim-minter
Most helpful comment
oc new-applabels everything that it creates, by default withapp=<generated name>. You can use-lto customise the label(s) added to create resources. To delete, dooc delete all -l app=<generated name>(or whatever labels you set).