Bug 1372387 - RFE - Add 'hpa' resource to 'oc get all'
Summary: RFE - Add 'hpa' resource to 'oc get all'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-01 14:48 UTC by jritenou
Modified: 2019-06-13 14:57 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-13 14:57:27 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description jritenou 2016-09-01 14:48:54 UTC
Description of problem:

A customer recently asked if we can add the horizontalpodautoscaler (hpa) resource to the output of 'oc get all'.

Since this isn't a cluster level resource that is possibly reusable, can that be done?

Comment 1 Fabiano Franz 2016-09-01 17:27:47 UTC
Users must be aware that by adding it to 'all' means not only 'get all' but only 'delete all'. But if that's only I'm good with adding hpa's to 'all'.

Comment 2 Fabiano Franz 2016-09-01 17:28:09 UTC
s/only/ok

Comment 3 David Eads 2016-09-01 17:37:06 UTC
@fabiano  There's a pull upstream to expand their list based on discovery.  It got reverted because it broke kubemark.  You can try to shepherd this: https://github.com/kubernetes/kubernetes/pull/30199

Comment 4 Juan Vallejo 2017-01-25 16:07:03 UTC
Related Trello card: https://trello.com/c/4idHX3Rd/753-2-add-hpa-resource-to-oc-get-all-cli-kubernetes

Also related upstream PR: https://github.com/kubernetes/kubernetes/pull/39887

The PR linked in https://bugzilla.redhat.com/show_bug.cgi?id=1372387#c3 has already merged, and `oc get all` currently includes hpa resources https://github.com/openshift/origin/blob/master/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/util/shortcut_restmapper.go#L116. Should this card be moved to ON_QA?

Comment 5 Xingxing Xia 2017-11-13 05:44:38 UTC
It is covered in mentioned trello card that is accepted and gone through routine tests since then. Moving to VERIFIED


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