Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.16 KB

File metadata and controls

46 lines (31 loc) · 1.16 KB

cs scale workspace

Scale landscape services of a workspace

Synopsis

Scale landscape services of a workspace by specifying service name and replica count.

cs scale workspace [flags]

Examples

# scale frontend to 2 and backend to 3 replicas
$ cs scale workspace --service frontend=2 --service backend=3

# scale web service to 1 replica on workspace 1234
$ cs scale workspace -w 1234 --service web=1

# scale api service to 0 replicas
$ cs scale workspace --service api=0

Options

  -h, --help                  help for workspace
      --service stringArray   Service to scale (format: 'service=replicas'), can be specified multiple times

Options inherited from parent commands

  -a, --api string      URL of Codesphere API (can also be CS_API)
  -O, --org string      Organization ID (relevant for some commands)
  -t, --team int        Team ID (relevant for some commands, can also be CS_TEAM_ID) (default -1)
  -v, --verbose         Verbose output
  -w, --workspace int   Workspace ID (relevant for some commands, can also be CS_WORKSPACE_ID) (default -1)

SEE ALSO