--- apiVersion: autoscaling.k8s.io/v1 kind: VerticalPodAutoscaler metadata: name: api-vpa namespace: artifactapi # NOTE: this workload also has an HPA. updateMode Off is recommendation-only # and does not act, so there is no HPA/VPA conflict today. Do not flip to Auto/ # Initial without first moving the HPA off CPU/memory (VPA owns those under Auto). spec: targetRef: apiVersion: apps/v1 kind: Deployment name: api updatePolicy: updateMode: "Off" --- apiVersion: autoscaling.k8s.io/v1 kind: VerticalPodAutoscaler metadata: name: redis-vpa namespace: artifactapi spec: targetRef: apiVersion: apps/v1 kind: Deployment name: redis updatePolicy: updateMode: "Off" --- apiVersion: autoscaling.k8s.io/v1 kind: VerticalPodAutoscaler metadata: name: ui-vpa namespace: artifactapi # NOTE: this workload also has an HPA. updateMode Off is recommendation-only # and does not act, so there is no HPA/VPA conflict today. Do not flip to Auto/ # Initial without first moving the HPA off CPU/memory (VPA owns those under Auto). spec: targetRef: apiVersion: apps/v1 kind: Deployment name: ui updatePolicy: updateMode: "Off"