Skip to main content
This document explains how to configure horizontal auto-scaling operations for pods. This horizontal scaling feature optimizes resource usage by automatically increasing and decreasing the number of pods according to application demands. To use the scaling feature in your Kubernetes cluster, a metric-server must be installed. If it is not available, you can check the Kubernetes Metric Server Installation page for installation.
Edit the NAMESPACE and DEPLOYMENT_NAME fields in the Yaml according to your application.
To disable the scaleDown feature, change it to “selectPolicy: Disabled”.