Skip to content

Instantly share code, notes, and snippets.

@pintohutch
Created January 29, 2024 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pintohutch/65bc578f1ca7f9d07ad44ff944168bb6 to your computer and use it in GitHub Desktop.
Save pintohutch/65bc578f1ca7f9d07ad44ff944168bb6 to your computer and use it in GitHub Desktop.
VPA for GMP operator
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: gmp-operator
namespace: gmp-system
spec:
resourcePolicy:
containerPolicies:
- containerName: operator
controlledResources:
- memory
maxAllowed:
memory: 4Gi
minAllowed:
memory: 16Mi
mode: Auto
targetRef:
apiVersion: apps/v1
kind: Deployment
name: gmp-operator
updatePolicy:
updateMode: Auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment