Description of problem:
For now, only DC and RC are mentioned in oc scale help, indeed there are more resources can be given new size such as Job and statefulsets, we need to put them in oc scale help
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. oc scale -h
# oc scale -h
Set a new size for a deployment or replication controller
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 scale is attempted, and it is guaranteed that the
precondition holds true when the scale is sent to the server.
Note that scaling a deployment configuration with no deployments will update the desired replicas in the configuration
oc scale [--resource-version=version] [--current-replicas=count] --replicas=COUNT (-f FILENAME | TYPE NAME) [options]
# Scale replication controller named 'foo' to 3.
oc scale --replicas=3 replicationcontrollers foo
# If the replication controller named foo's current size is 2, scale foo to 3.
oc scale --current-replicas=2 --replicas=3 replicationcontrollers foo
# Scale the latest deployment of 'bar'. In case of no deployment, bar's template
# will be scaled instead.
oc scale --replicas=10 dc bar
all the supported resources should be mentioned, Job, statefulset...
Related PR: https://github.com/openshift/origin/pull/12724
Verified on openshift v22.214.171.124.
Supported resources: ["deployment" "replicaset" "replicationcontroller" "job" "deploymentconfig"]
Since this bug never reached customers, I am closing it.