Created
August 31, 2019 22:46
-
-
Save victorpaulo/536d6e7c5343dcd8eee674ac5e06b039 to your computer and use it in GitHub Desktop.
Horizontal Pod Autoscale for IBM ACE
This file contains 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/v2beta2 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: ace-dev-hpa | |
namespace: default | |
spec: | |
scaleTargetRef: | |
apiVersion: apps/v1 | |
kind: Deployment | |
name: my-ace-dev-ibm-ace-server-dev | |
minReplicas: 1 | |
maxReplicas: 10 | |
metrics: | |
- type: Resource | |
resource: | |
name: cpu | |
target: | |
type: Utilization | |
averageUtilization: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment