关于“AK8S-11 Configuring Pod Autoscaling and NodePools”的评价

评论

Urszula R. · 评论about 5 years之前

got a "missing request for cpu"

Viktoriia L. · 评论about 5 years之前

Bruno F. · 评论about 5 years之前

Janet L. · 评论about 5 years之前

Fernando R. · 评论about 5 years之前

Muhammad T. · 评论about 5 years之前

Amr S. · 评论about 5 years之前

Abid A. · 评论about 5 years之前

Yap J. · 评论about 5 years之前

Max T. · 评论about 5 years之前

Matthew J. · 评论about 5 years之前

the web.yaml did not provide measurements

Mario W. · 评论about 5 years之前

sebastien s. · 评论about 5 years之前

hpa does not work with current instructions. hpa cannot get metrics from the container, so it never automatically scales. Always stays like this ---- NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE web Deployment/web <unknown>/1% 1 4 1 13m ------- and $ kubectl describe horizontalpodautoscaler web Name: web Namespace: default Labels: <none> Annotations: <none> CreationTimestamp: Thu, 04 Mar 2021 09:48:06 +0000 Reference: Deployment/web Metrics: ( current / target ) resource cpu on pods (as a percentage of request): <unknown> / 1% Min replicas: 1 Max replicas: 4 Deployment pods: 1 current / 0 desired Conditions: Type Status Reason Message ---- ------ ------ ------- AbleToScale True SucceededGetScale the HPA controller was able to get the target's current scale ScalingActive False FailedGetResourceMetric the HPA was unable to compute the replica count: missing request for cpu Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedComputeMetricsReplicas 11m (x12 over 14m) horizontal-pod-autoscaler failed to compute desired number of replicas based on listed metrics for Deployment/default/web: invalid metrics (1 invalidout of 1), first error is: failed to get cpu utilization: missing request for cpu Warning FailedGetResourceMetric 4m4s (x40 over 14m) horizontal-pod-autoscaler missing request for cpu

Alexander M. · 评论about 5 years之前

Ruchir J. · 评论about 5 years之前

Marcin K. · 评论about 5 years之前

It would be nice to tell me how you edit a yaml file. If not just remove those steps from the lab.

Reggie D. · 评论about 5 years之前

Erdenay A. · 评论about 5 years之前

Lawrence K. · 评论about 5 years之前

Jeff B. · 评论about 5 years之前

The horizontal pod autoscaler seemed to be broken. Failed to get resource metric request for CPU. Tried twice. Followed steps exactly and even copied and pasted in the commands. CPU for hpa was always <unknown>/1%

Reyna J. · 评论about 5 years之前

Jerome T. · 评论about 5 years之前

Andras A. · 评论about 5 years之前

Even S. · 评论about 5 years之前

Koichi M. · 评论about 5 years之前

我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。