Skip to content

Instantly share code, notes, and snippets.

@pintohutch
Created May 14, 2024 19:08
Show Gist options
  • Select an option

  • Save pintohutch/0a6e3bf319a476c4daf7b4ed675f56cf to your computer and use it in GitHub Desktop.

Select an option

Save pintohutch/0a6e3bf319a476c4daf7b4ed675f56cf to your computer and use it in GitHub Desktop.
VPA for rule-evaluator
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: rule-evaluator
namespace: gmp-system
spec:
resourcePolicy:
containerPolicies:
- containerName: evaluator
controlledResources:
- memory
maxAllowed:
memory: 4Gi
minAllowed:
memory: 16Mi
mode: Auto
targetRef:
apiVersion: apps/v1
kind: Deployment
name: rule-evaluator
updatePolicy:
updateMode: Auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment