Kubernetes Horizontal Pod Autoscaler Manifest Version 2 beta 2: Difference between revisions
Jump to navigation
Jump to search
(→type) |
|||
Line 4: | Line 4: | ||
=Internal= | =Internal= | ||
* [[Kubernetes_Horizontal_Pod_Autoscaler_Manifest#Version_2_beta_2|Horizontal Pod Autoscaler Manifest]] | * [[Kubernetes_Horizontal_Pod_Autoscaler_Manifest#Version_2_beta_2|Horizontal Pod Autoscaler Manifest]] | ||
=Overview= | |||
v2 beta2 Horizontal Pod Autoscalers support autoscaling solution based on custom and external metrics. See: {{Internal|Kubernetes_Horizontal_Pod_Autoscaler#Custom_Metrics-based_Scaling|Custom Metrics-based Scaling}} | |||
=Example= | =Example= |
Revision as of 18:44, 13 October 2020
External
Internal
Overview
v2 beta2 Horizontal Pod Autoscalers support autoscaling solution based on custom and external metrics. See:
Example
apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: example spec: minReplicas: 1 maxReplicas: 5 scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: httpd metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 50