Bug 1421255 - [RFE] Add use of -c to specify a container inside of a pod when using the DC to get logs
Summary: [RFE] Add use of -c to specify a container inside of a pod when using the DC ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.3.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: Xiaoli Tian
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-10 18:36 UTC by Eric Jones
Modified: 2021-12-10 14:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-10 19:07:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Jones 2017-02-10 18:36:11 UTC
- What is the nature and description of the request? 
As an admin, developer, or user I require the ability to specify the DC name of my application (because that doesn't change while the pod names do) and be able to specify which container from my application I draw logs from.

- Why does the customer need this? (List the business requirements here) 
Because currently they use `oc logs dc/DC_NAME` for getting logs for most apps because that name is always the same but that command doesn't let you specify a container, it only says you should run that same command just on this pod (and then specifies the name of the pod).

- Is there already an existing RFE upstream or in Red Hat Bugzilla?
Not that I could find

Comment 2 Eric Jones 2017-02-10 19:07:50 UTC
Closing this after discussing things more thoroughly with engineering. Work around this similar topic will be occurring in https://bugzilla.redhat.com/show_bug.cgi?id=1421264 instead.


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