mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Update kubectl help for 1.2 resources
This commit is contained in:
@@ -34,12 +34,12 @@ Documentation for other releases can be found at
|
||||
|
||||
## kubectl scale
|
||||
|
||||
Set a new size for a Replication Controller, Job, or Deployment.
|
||||
Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job.
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Set a new size for a Replication Controller, Job, or Deployment.
|
||||
Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job.
|
||||
|
||||
Scale also allows users to specify one or more preconditions for the scale action.
|
||||
If --current-replicas or --resource-version is specified, it is validated before the
|
||||
@@ -53,8 +53,8 @@ kubectl scale [--resource-version=version] [--current-replicas=count] --replicas
|
||||
### Examples
|
||||
|
||||
```
|
||||
# Scale replication controller named 'foo' to 3.
|
||||
kubectl scale --replicas=3 rc/foo
|
||||
# Scale a replicaset named 'foo' to 3.
|
||||
kubectl scale --replicas=3 rs/foo
|
||||
|
||||
# Scale a resource identified by type and name specified in "foo.yaml" to 3.
|
||||
kubectl scale --replicas=3 -f foo.yaml
|
||||
@@ -112,7 +112,7 @@ kubectl scale --replicas=3 job/cron
|
||||
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra on 2-Mar-2016
|
||||
###### Auto generated by spf13/cobra on 22-Mar-2016
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
|
||||
Reference in New Issue
Block a user