Skip to content

Improvement for k8s.io/docs/tasks/run-application/horizontal-pod-autoscale/ #53447

@Floeig

Description

@Floeig

Bellow :#algorithm-details

Alternatively, scale on raw resource values without depending on resource requests:

type: Resource
resource:
  name: cpu
  target:
    type: AverageValue
    averageValue: 100m
---
type: Resource
resource:
  name: memory
  target:
    type: AverageValue
    averageValue: 512Mi

With AverageValue, the HPA scales based on actual measured resource consumption per pod, independent of resource requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions