Kubernetes Horizontal Pod Autoscaler Manifest: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=External=
* https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#horizontalpodautoscaler-v1-autoscaling
* https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#horizontalpodautoscaler-v2beta2-autoscaling
=Internal=
=Internal=
* [[Kubernetes_Horizontal_Pod_Autoscaler#HPA_Manifest|Horizontal Pod Autoscaler]]
* [[Kubernetes_Horizontal_Pod_Autoscaler#HPA_Manifest|Horizontal Pod Autoscaler]]
Line 12: Line 8:
==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

Latest revision as of 21:37, 12 October 2020