concept
Vertical and node scaling
Compare Vertical Pod Autoscaler recommendations with horizontal scaling and node provisioning, and diagnose capacity bottlenecks.
Formal Syntax & Structure
kubernetes syntaxkubernetes
Vertical and node scalingWorking Example
Example Snippetkubernetes
apiVersion: autoscaling.k8s.io/v1kind: VerticalPodAutoscalermetadata: name: catalog-recommendations namespace: scaling-studyspec: targetRef: apiVersion: apps/v1 kind: Deployment name: catalog updatePolicy: updateMode: "Off" resourcePolicy: containerPolicies: - containerName: api minAllowed: cpu: 100m memory: 64Mi maxAllowed: cpu: 400m memory: 256Mi