Add advise-mode VerticalPodAutoscaler for every workload
Adds a VerticalPodAutoscaler (updateMode: Off, recommendation-only) targeting every Deployment and StatefulSet across apps/base. Off mode never mutates pods, so this only gathers right-sizing recommendations. CNPG Clusters and CronJobs are not VPA targets and are skipped.
This commit is contained in:
@@ -8,6 +8,7 @@ resources:
|
||||
- httproute.yaml
|
||||
- namespace.yaml
|
||||
- service.yaml
|
||||
- vpa.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: age-api-config
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: autoscaling.k8s.io/v1
|
||||
kind: VerticalPodAutoscaler
|
||||
metadata:
|
||||
name: age-api-vpa
|
||||
namespace: age-api
|
||||
spec:
|
||||
targetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: age-api
|
||||
updatePolicy:
|
||||
updateMode: "Off"
|
||||
Reference in New Issue
Block a user