liveBook · Manning

Scalability

As explained in Road to Kubernetes

Scalability is the ability of a system or process to accommodate increasing workload or resource demands while maintaining acceptable operation.

Scalability is the ability to accommodate increasing workload or resource demands while keeping operation acceptable. In deployment work, it means running multiple application instances and distributing traffic among them instead of relying on one container. section 7.4.1 section 8.3.3

A practical scaling path moves from manual duplication toward declarative management:

  • Docker Compose can run several services from the same application container image. section 7.4.1
  • NGINX can define those services as an upstream and load-balance requests across them. section 7.4.1
  • Kubernetes Deployments declare a desired replica count, and Services load-balance traffic to available, ready Pods. section 8.3.3

Scaling an NGINX application

A Kubernetes Deployment can declare replicas: 15 for an NGINX container. Applying the manifest with kubectl apply -f my-first-deployment.yaml creates the desired group of Pods; kubectl get deployments and kubectl get pods --selector app=my-nginx verify the result. section 8.3.3

How Road to Kubernetes covers it

How deep it goes
Progresses from repeated Compose services and NGINX routing to Kubernetes replica declarations, stopping short of broader scaling management.
Examples
Demonstrates repeated Compose services, NGINX upstreams, and a 15-replica NGINX Kubernetes Deployment.
What it assumes
Builds from container deployment basics before introducing repeated services, upstream routing, Pods, Deployments, and Services.
What you can do after
Apply it via Docker Compose, NGINX, or kubectl to run multiple instances and distribute requests across available containers.
How it connects
Connects Docker Compose, NGINX, load balancing, Kubernetes Deployments, Services, Pods, and CI/CD automation.

Also explained in

Compare how 27 books explain scalability →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Road to Kubernetes. The section links point to the parts of the book it draws on.