-
-
Save SpackHack/ca991498a58280dd5c48b96d43fb81a5 to your computer and use it in GitHub Desktop.
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: scaler | |
spec: | |
scaleTargetRef: | |
apiVersion: apps/v1 | |
kind: Deployment | |
name: resourcetest | |
minReplicas: 1 | |
maxReplicas: 10 | |
metrics: | |
- type: Resource | |
resource: | |
name: memory | |
target: | |
type: AverageValue | |
averageValue: 100Mi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment