Kubernetes Horizontal Pod Autoscaler Manifest Version 1: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with " apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: httpd spec: maxReplicas: 10 minReplicas: 1 scaleTargetRef: apiVersion: apps/v1...")
 
No edit summary
 
(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
=Internal=
* [[Kubernetes_Horizontal_Pod_Autoscaler_Manifest#Version_1|Horizontal Pod Autoscaler Manifest]]
=Example=
  apiVersion: autoscaling/v1
  apiVersion: autoscaling/v1
  kind: HorizontalPodAutoscaler
  kind: HorizontalPodAutoscaler

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