Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: autoscale-tester
updatePolicy:
updateMode: "Auto"
resourcePolicy:
containerPolicies:
- containerName: autoscale-tester
minAllowed:
cpu: "500m"
memory: "500Mi"
maxAllowed:
cpu: "4"
memory: "4Gi"
- containerName: opt-out-container
mode: "Off"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment