If you create something with new-app, the created items will have the label "app=<name>" where name is either what you provided with --name or the inferred name from the arguments. You can then delete the created resources with

oc delete all -l app=<name>

Note that "all" is a shorthand for "everything that is likely to be something you want to delete", and doesn't include secrets or service accounts or a few other resources.

How can i remove a template from openshift namespace along with all the pods and services created from that.

Using

oc v1.0.3-2-g15952fc

kubernetes v1.0.0

i have given wrong port for the application in the template and because of that HA proxy shows all containers as down as it dont listen on those ports.Is there a way to either update template and replace existing pod based on old template to changed template or remove existing template along with all its running pods,services and rc?

I don't find any option to stop/remove pods in the GUI any plan to add these features?