Bug 1480104 - [RFE] support deactivation of horizontalpodautoscaler
[RFE] support deactivation of horizontalpodautoscaler
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE (Show other bugs)
3.5.1
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Eric Paris
Xiaoli Tian
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-10 03:40 EDT by Kenjiro Nakayama
Modified: 2017-08-17 13:03 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Kenjiro Nakayama 2017-08-10 03:40:20 EDT
1. Proposed title of this feature request

[RFE]  support deactivation of horizontalpodautoscaler

3. What is the nature and description of the request?
4. Why does the customer need this? (List the business requirements here)

As an OpenShift user, we would like to deactivate/activate HPA without deleting the resource.

5. How would the customer like to achieve this? (List the functional requirements here)

CLI can deactivate HPA.

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

Similar feature requests are:

  https://github.com/kubernetes/kubernetes/issues/28603 (Need a way to temporarily disable HPA)
  https://github.com/kubernetes/kubernetes/pull/29212
  https://github.com/openshift/origin/pull/10305

but OCP v3.5.5.31 still doesn't include them. (3.6 supports it(?))

We cannot set minReplicas to 0 with `oc edit hpa`. Also, please note that we would like to set it via `oc scaledown hpa --replicas=0` or some single command.

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

Not exactly. The priority is medium at this moment.

Additional info
---
Please refer to bz#1479299 c#4. The customer originaly wanted to deactivate a project, but engineering suggested that it should be done by cli. However, HPA doesn't support deactivation.

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