Skip to Main Content
OpenShift in Action
book

OpenShift in Action

by John Osborne, Jamie Duncan
May 2018
Beginner to intermediate content levelBeginner to intermediate
320 pages
10h 34m
English
Manning Publications
Content preview from OpenShift in Action

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

OpenShift for Developers

OpenShift for Developers

Grant Shipley, Graham Dumpleton
DevOps with OpenShift

DevOps with OpenShift

Stefano Picozzi, Mike Hepburn, Noel O'Connor
Learn OpenShift

Learn OpenShift

Denis Zuev, Artemii Kropachev, Aleksey Usov
Kubernetes: Up and Running

Kubernetes: Up and Running

Kelsey Hightower, Brendan Burns, Joe Beda

Publisher Resources

ISBN: 9781617294839Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link