Guides

How to get started, and achieve tasks, using Kubernetes

Edit This Page

Resizing a Replication Controller

To increase or decrease the number of pods under a replication controller’s control, use the kubectl scale command:

$ kubectl scale rc NAME --replicas=COUNT \
    [--current-replicas=COUNT] \
    [--resource-version=VERSION]

Tip: You can use the rc alias in your commands in place of replicationcontroller.

Required fields are:

Optional fields are:

Analytics