Bug 1885213
Summary: | Vertical Pod Autoscaler (VPA) not working with DeploymentConfig | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Mani <mmohan> |
Component: | Node | Assignee: | Joel Smith <joelsmith> |
Node sub component: | Autoscaler (HPA, VPA) | QA Contact: | Weinan Liu <weinliu> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | aos-bugs, dgautam, joelsmith, jokerman, mfojtik, nagrawal, schoudha, tsweeney, weinliu |
Version: | 4.5 | Keywords: | UpcomingSprint |
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: VPA did not have access to monitor DeploymentConfigs
Consequence: VPA was unable to scale DeploymentConfig workloads
Fix: VPA permissions update
Result: VPA can scale DeploymentConfig workloads
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 15:22:35 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1892386 |
Description
Mani
2020-10-05 12:51:56 UTC
Looks like a bug in https://github.com/openshift/vertical-pod-autoscaler-operator/blob/master/manifests/4.6/vertical-pod-autoscaler.v4.6.0.clusterserviceversion.yaml#L201-L314 which does not have DC. Here are the objects I used for testing: hamster-dc.yaml --- apiVersion: apps.openshift.io/v1 kind: DeploymentConfig metadata: name: hamster spec: replicas: 2 labels: app: hamster template: metadata: labels: app: hamster spec: containers: - name: hamster image: k8s.gcr.io/ubuntu-slim:0.1 resources: requests: cpu: 100m memory: 50Mi command: ["/bin/sh"] args: - "-c" - "while true; do timeout 0.2s yes >/dev/null; sleep 0.8s; done" hamster-vpa-dc.yaml --- apiVersion: "autoscaling.k8s.io/v1beta2" kind: VerticalPodAutoscaler metadata: name: hamster-vpa spec: targetRef: apiVersion: "apps.openshift.io/v1" kind: DeploymentConfig name: hamster resourcePolicy: containerPolicies: - containerName: hamster controlledValues: RequestsOnly Failed test on image: brew.registry.redhat.io/rh-osbs/iib-pub-pending:v4.7 as per comment 12 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633 Do we have any plan to backport the fix to 4.5/4.6 .? |