Skip to content

Instantly share code, notes, and snippets.

@kimschles
Last active December 20, 2018 18:41
Show Gist options
  • Select an option

  • Save kimschles/093ab3774fa3245f9ec269d7eb310f5a to your computer and use it in GitHub Desktop.

Select an option

Save kimschles/093ab3774fa3245f9ec269d7eb310f5a to your computer and use it in GitHub Desktop.
horizontal pod autoscaler example for beginners_guide_to_k8s
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: dvlp-app
spec:
minReplicas: 1
maxReplicas: 30
scaleTargetRef:
apiVersion: extensions/v1beta1
kind: Deployment
name: dvlp-app
targetCPUUtilizationPercentage: 75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment