Kubernetes Horizontal Pod Autoscaler Manifest: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
==Version 1==
==Version 1==
{{Internal|Kubernetes Horizontal Pod Autoscaler Manifest Version 1|Version 1}}
{{Internal|Kubernetes Horizontal Pod Autoscaler Manifest Version 1|Version 1}}
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: httpd
spec:
  maxReplicas: 10
  minReplicas: 1
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: httpd
  targetCPUUtilizationPercentage: 50

Revision as of 21:36, 12 October 2020