Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created September 7, 2020 10:45
Show Gist options
  • Save velotiotech/af352b64443e1198575c0c377af0d668 to your computer and use it in GitHub Desktop.
Save velotiotech/af352b64443e1198575c0c377af0d668 to your computer and use it in GitHub Desktop.
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