Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Latest commit

 

History

History
19 lines (13 loc) · 340 Bytes

scale-replication-controller.md

File metadata and controls

19 lines (13 loc) · 340 Bytes

Scaling up a replication controller

  • Scale up the number of replicas
  • Watch as new pods are added

Resize to 4 replicas.

kubectl scale rc simple-cms --replicas=4

Watch the new pods come online

kubectl get pods --watch

Next up: expose the pods as a service for load-balanced cluster access.