Chapter 5. Autoscaling with metrics

This chapter covers

  • Using container metrics
  • Creating a Horizontal Pod Autoscaler
  • Setting resource requests and limits
  • Autoscaling applications
  • Load testing with the Apache HTTP server benchmarking tool

In the last chapter, you learned about the health and status of an application. You learned that OpenShift deployments use replication controllers (RCs) under the covers to ensure that a static number of pods is always running. Readiness probes and liveness probes make sure running pods start as expected and behave as expected. The number of pods servicing a given workload can also be easily modified to a new static number with a single command or the click of a button.

This new deployment model gives you ...

Get OpenShift in Action now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.