kubectl scale

Description

Set a new size for a deployment, replica set, or replication controller.

Command
kubectl scale
Examples
Scale deployment
kubectl scale deployment my-deployment --replicas=3
Scale replica set
kubectl scale replicaset my-replicaset --replicas=5
Command Info
Category: Scaling
Type: Kubernetes
Views: 12
Status: Active
Tags
scale replicas size