Files
traces/operations/jsonnet-compiled/microservices-with-extras/gen/VerticalPodAutoscaler-backend-scheduler.yaml
Zach Leslieandzeekay 8e7fdac56b Add jsonnet compilation for extras (#6272)
* Add compiled jsonnet for "with extras" to validate extra options

* Add withInet6 to demonstrate new compiled approach

* Add config to enable VPA on components
2026-02-22 00:55:19 -08:00

28 lines
572 B
YAML

apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: backend-scheduler
namespace: tracing
spec:
resourcePolicy:
containerPolicies:
- containerName: backend-scheduler
controlledResources:
- cpu
- memory
controlledValues: RequestsAndLimits
maxAllowed:
cpu: "2"
memory: 4Gi
minAllowed:
cpu: 100m
memory: 1Gi
mode: Auto
targetRef:
apiVersion: apps/v1
kind: StatefulSet
name: backend-scheduler
updatePolicy:
minReplicas: 1
updateMode: Auto