Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Last active Sep 7, 2020
Embed
What would you like to do?
apiVersion: autoscaling.k8s.io/v1beta2
kind: VerticalPodAutoscaler
metadata:
name: autoscale-tester-recommender
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: autoscale-tester
updatePolicy:
updateMode: "Off"
resourcePolicy:
containerPolicies:
- containerName: autoscale-tester
minAllowed:
cpu: "500m"
memory: "500Mi"
maxAllowed:
cpu: "4"
memory: "8Gi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment