Bug 1270386 - No Command to delete ipfaileover
Summary: No Command to delete ipfaileover
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-09 20:51 UTC by Ryan Howe
Modified: 2019-11-14 07:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-23 19:45:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ryan Howe 2015-10-09 20:51:18 UTC
Description of problem:
No Command to delete ipfaileover 

Version-Release number of selected component (if applicable):
3.0.2

How reproducible:
100%

Steps to Reproduce:
1. Create ipfailover


Actual results:
- No command to delete

Expected results:
- Command to deleted created ipfailover 


Additional info:

Comment 2 Ryan Howe 2016-08-12 16:56:30 UTC
This can be satisfied by adding a default label to all ipfailover objects by default. 
As well as adding a option to add/overwrite a label on creation of ipfailover that gets applied to all ipfailover objects. 


As well as documenting everything that is created. 

# oc delete dc myipfailover
# oc delete rc myipfailover-1 
# oc delete pod myipfailover-xxx 
# oc delete sa ipfailover

Comment 3 Juan Vallejo 2017-10-23 19:45:29 UTC
At least as of v3.7, a label is added to every resource created via `oadm ipfailover ...`. 

A custom label can even be specified through the `-l | --selector` flag. Due to this, it is possible to delete all ipfailover objects via `oc delete all -l ipfailover=...` as stated in comment 2.

Please re-open if I am misunderstanding the main cause of this bug.


Note You need to log in before you can comment on or make changes to this bug.