Last active
December 20, 2018 18:41
-
-
Save kimschles/093ab3774fa3245f9ec269d7eb310f5a to your computer and use it in GitHub Desktop.
horizontal pod autoscaler example for beginners_guide_to_k8s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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