Last active
June 28, 2017 10:03
-
-
Save pingles/68ec63633a77c92b53b710c1025a48c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kn describe hpa autoscale-demo | |
Name: autoscale-demo | |
Namespace: cloud | |
Reference: Deployment/autoscale-demo | |
Metrics: ( current / target ) | |
"qps" on pods: <unknown> / 1 | |
Min replicas: 1 | |
Max replicas: 5 | |
Events: | |
FirstSeen LastSeen Count From SubObjectPath Type Reason Message | |
--------- -------- ----- ---- ------------- -------- ------ ------- | |
4m 14s 9 horizontal-pod-autoscaler Warning FailedGetPodsMetric did not recieve metrics for any ready pods | |
4m 14s 9 horizontal-pod-autoscaler Warning FailedComputeMetricsReplicas failed to get pods metric value: did not recieve metrics for any ready pods |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: autoscaling/v2alpha1 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: autoscale-demo | |
namespace: cloud | |
spec: | |
maxReplicas: 5 | |
minReplicas: 1 | |
metrics: | |
- type: Pods | |
pods: | |
metricName: qps | |
targetAverageValue: 1 | |
scaleTargetRef: | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
name: autoscale-demo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment