In a project, you need to scale up the number of instances of a particular containerized application based on increased demand. How would you achieve this using Kubernetes?

  • Deploy multiple independent pods for each instance
  • Implement a custom script to monitor and scale containers
  • Manually update the replica count in the Kubernetes Deployment
  • Use Kubernetes Horizontal Pod Autoscaling
Kubernetes Horizontal Pod Autoscaling is the preferred method to automatically scale the number of instances based on demand. It dynamically adjusts the number of pods in a deployment, ensuring optimal resource utilization.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *