Created
June 29, 2021 15:52
-
-
Save JaniKibichi/91f60d02845259e91838ec3a7883cada to your computer and use it in GitHub Desktop.
Horizontal Pod Autoscaler
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/v2beta2 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: bboxx-horizontal-pod-autoscaler | |
spec: | |
scaleTargetRef: | |
apiVersion: apps/v1 | |
kind: Deployment | |
name: bboxx-deployment | |
minReplicas: 1 | |
maxReplicas: 10 | |
metrics: | |
- type: Resource | |
resource: | |
name: cpu | |
target: | |
type: Utilization | |
averageUtilization: 50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment