Bug 1277891
Summary: | [clusterinfra_public_202]The hpa reference info is error when create hpa without namespace | ||
---|---|---|---|
Product: | OKD | Reporter: | DeShuai Ma <dma> |
Component: | Pod | Assignee: | Solly Ross <sross> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jianwei Hou <jhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.x | CC: | aos-bugs, mmccomas, pweil |
Target Milestone: | --- | Keywords: | UpcomingRelease |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-23 21:16:34 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: |
Description
DeShuai Ma
2015-11-04 10:17:01 UTC
Verify this bug on the latest origin. [fedora@ip-172-18-15-226 sample-app]$ openshift version openshift v1.0.8-16-gd81eca7-dirty kubernetes v1.1.0-origin-1107-g4c8e6f4 etcd 2.1.2 [fedora@ip-172-18-15-226 sample-app]$ cat hpa.yaml apiVersion: extensions/v1beta1 kind: HorizontalPodAutoscaler metadata: name: php-apache spec: scaleRef: kind: DeploymentConfig name: php-apache subresource: scale minReplicas: 1 maxReplicas: 10 cpuUtilization: targetPercentage: 50 [fedora@ip-172-18-15-226 sample-app]$ oadm new-project dma2 Created project dma2 [fedora@ip-172-18-15-226 sample-app]$ oc create -f hpa.yaml -n dma2 horizontalpodautoscaler "php-apache" created [fedora@ip-172-18-15-226 sample-app]$ oc get hpa -n dma2 NAME REFERENCE TARGET CURRENT MINPODS MAXPODS AGE php-apache DeploymentConfig/php-apache/scale 50% <waiting> 1 10 6s |