Kubernetes Horizontal Pod Autoscaler Manifest Version 1: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
=External=
* https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#horizontalpodautoscaler-v1-autoscaling
=Internal=
=Internal=
* [[Kubernetes_Horizontal_Pod_Autoscaler_Manifest#Version_1|Horizontal Pod Autoscaler Manifest]]
* [[Kubernetes_Horizontal_Pod_Autoscaler_Manifest#Version_1|Horizontal Pod Autoscaler Manifest]]

Latest revision as of 21:38, 12 October 2020

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