Kubernetes Horizontal Pod Autoscaler Manifest Version 1

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Example

apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: httpd
spec:
  maxReplicas: 10
  minReplicas: 1
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: httpd
  targetCPUUtilizationPercentage: 50