Documentation for Kubernetes v1.4 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.

Edit This Page

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

Create an Issue Edit this Page