Created
May 16, 2025 09:42
-
-
Save initcron/2bad4244967905930e25feec239d49b5 to your computer and use it in GitHub Desktop.
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.k8s.io/v1" | |
kind: VerticalPodAutoscaler | |
metadata: | |
name: model | |
labels: | |
role: model | |
spec: | |
targetRef: | |
apiVersion: "apps/v1" | |
kind: Deployment | |
name: model | |
updatePolicy: | |
updateMode: "Auto" | |
resourcePolicy: | |
containerPolicies: | |
- containerName: '*' | |
minAllowed: | |
cpu: 50m | |
memory: 64Mi | |
maxAllowed: | |
cpu: 500m | |
memory: 512Mi | |
controlledResources: ["cpu", "memory"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment