Update horizontal-pod-autoscale-walkthrough.md#17206
Update horizontal-pod-autoscale-walkthrough.md#17206k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
tengfei86
commented
Oct 26, 2019
|
Deploy preview for kubernetes-io-master-staging ready! Built with commit a34c9e0 https://deploy-preview-17206--kubernetes-io-master-staging.netlify.com |
|
@tengfei86 I don't see any explanation for what this pull request fixes / improves. Can you write a note (ideally, in the commit message) to describe why you're making that change? If you're not sure how to do that, reply here and someone else ought to be able to help tweak it. |
| name: cpu | ||
| target: | ||
| type: AverageUtilization | ||
| type: Utilization |
There was a problem hiding this comment.
According to https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#metrictarget-v2beta2-autoscaling,
The type should be one of Utilization, Value, or AverageValue.
So this change makes sense to me.
| name: main-route | ||
| target: | ||
| kind: Value | ||
| type: Value |
There was a problem hiding this comment.
According to https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#metrictarget-v2beta2-autoscaling,
the target field is a MetricTarget object, which can have fields like averageUtilization, averageValue, type and value. 'kind' is obviously not the right property name.
This change makes sense to me.
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tengqm The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |