[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: deleting/updating templates,pods,services,rc



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.  

On Oct 10, 2015, at 3:48 PM, green krypton <greenkrypton93 gmail com> wrote:

thanks for the links

On Sat, Oct 10, 2015 at 10:25 AM, Nakayama Kenjiro <nakayamakenjiro gmail com> wrote:
Hi,

It seems that there are no way to deleting/updating them via webconsle at this moment.
And it looks WIP now:

  https://trello.com/c/jSBa9hb4/501-web-console-ability-to-delete-things

I think if you want to run these operation, you need to use CLI rather than webconsole.

  https://docs.openshift.org/latest/cli_reference/get_started_cli.html

I hope this helps you.

Thanks,
Kenjiro

On Sat, Oct 10, 2015 at 1:07 PM, green krypton <greenkrypton93 gmail com> wrote:
Hello All,
                 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?

Thanks for any help

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Kenjiro NAKAYAMA <nakayamakenjiro gmail com>
GPG Key fingerprint = ED8F 049D E67A 727D 9A44  8E25 F44B E208 C946 5EB9

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]