The cluster can be scaled horizontally and vertically.
- Horizontal scaling is based on increasing the number of pods for the same service so that the workload is spread over a larger number of pods.
kubectl scale --replicas = 5 deployment /
- Vertical scaling seeks to add more resources to the cluster, either by adding more resources to existing machines or instances or by adding new nodes. The vertical scaling policy will depend on the platform on which the cluster is deployed, on-premises or in the cloud.