Chapter 15. Automatic scaling of pods and cluster nodes

This chapter covers

  • Configuring automatic horizontal scaling of pods based on CPU utilization
  • Configuring automatic horizontal scaling of pods based on custom metrics
  • Understanding why vertical scaling of pods isn’t possible yet
  • Understanding automatic horizontal scaling of cluster nodes

Applications running in pods can be scaled out manually by increasing the replicas field in the ReplicationController, ReplicaSet, Deployment, or other scalable resource. Pods can also be scaled vertically by increasing their container’s resource requests and limits (though this can currently only be done at pod creation time, not while the pod is running). Although manual scaling is okay for times when ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.