Skip to content

Commit 254d2f1

Browse files
chore(docs): Auto-update docs and licenses
Signed-off-by: OliverTrautvetter <66372584+OliverTrautvetter@users.noreply.github.com>
1 parent 727774a commit 254d2f1

File tree

5 files changed

+79
-8
lines changed

5 files changed

+79
-8
lines changed

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Manage and debug resources deployed in Codesphere via command line.
2929
* [cs log](cs_log.md) - Retrieve run logs from services
3030
* [cs monitor](cs_monitor.md) - Monitor a command and report health information
3131
* [cs open](cs_open.md) - Open the Codesphere IDE
32+
* [cs scale](cs_scale.md) - Scale Codesphere resources
3233
* [cs set-env](cs_set-env.md) - Set environment variables
3334
* [cs start](cs_start.md) - Start workspace pipeline
3435
* [cs sync](cs_sync.md) - Sync Codesphere resources

docs/cs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Manage and debug resources deployed in Codesphere via command line.
2929
* [cs log](cs_log.md) - Retrieve run logs from services
3030
* [cs monitor](cs_monitor.md) - Monitor a command and report health information
3131
* [cs open](cs_open.md) - Open the Codesphere IDE
32+
* [cs scale](cs_scale.md) - Scale Codesphere resources
3233
* [cs set-env](cs_set-env.md) - Set environment variables
3334
* [cs start](cs_start.md) - Start workspace pipeline
3435
* [cs sync](cs_sync.md) - Sync Codesphere resources

docs/cs_scale.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## cs scale
2+
3+
Scale Codesphere resources
4+
5+
### Synopsis
6+
7+
Scale Codesphere resources, like landscape services of a workspace.
8+
9+
### Options
10+
11+
```
12+
-h, --help help for scale
13+
```
14+
15+
### Options inherited from parent commands
16+
17+
```
18+
-a, --api string URL of Codesphere API (can also be CS_API)
19+
-t, --team int Team ID (relevant for some commands, can also be CS_TEAM_ID) (default -1)
20+
-v, --verbose Verbose output
21+
-w, --workspace int Workspace ID (relevant for some commands, can also be CS_WORKSPACE_ID) (default -1)
22+
```
23+
24+
### SEE ALSO
25+
26+
* [cs](cs.md) - The Codesphere CLI
27+
* [cs scale workspace](cs_scale_workspace.md) - Scale landscape services of a workspace
28+

docs/cs_scale_workspace.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
## cs scale workspace
2+
3+
Scale landscape services of a workspace
4+
5+
### Synopsis
6+
7+
Scale landscape services of a workspace by specifying service name and replica count.
8+
9+
```
10+
cs scale workspace [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
# scale frontend to 2 and backend to 3 replicas
17+
$ cs scale workspace --service frontend=2 --service backend=3
18+
19+
# scale web service to 1 replica on workspace 1234
20+
$ cs scale workspace -w 1234 --service web=1
21+
22+
# scale api service to 0 replicas
23+
$ cs scale workspace --service api=0
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help help for workspace
30+
--service stringArray Service to scale (format: 'service=replicas'), can be specified multiple times
31+
```
32+
33+
### Options inherited from parent commands
34+
35+
```
36+
-a, --api string URL of Codesphere API (can also be CS_API)
37+
-t, --team int Team ID (relevant for some commands, can also be CS_TEAM_ID) (default -1)
38+
-v, --verbose Verbose output
39+
-w, --workspace int Workspace ID (relevant for some commands, can also be CS_WORKSPACE_ID) (default -1)
40+
```
41+
42+
### SEE ALSO
43+
44+
* [cs scale](cs_scale.md) - Scale Codesphere resources
45+

docs/cs_wake-up.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,15 @@ $ cs wake-up -w 1234 --sync-landscape
2727
2828
# wake up workspace and deploy landscape with prod profile
2929
$ cs wake-up -w 1234 --sync-landscape --profile prod
30-
31-
# wake up workspace and scale specific services
32-
$ cs wake-up -w 1234 --scale-services web=1,api=2
3330
```
3431

3532
### Options
3633

3734
```
38-
-h, --help help for wake-up
39-
-p, --profile string CI profile to use for landscape deploy (e.g. 'prod' for ci.prod.yml)
40-
--scale-services string Scale specific landscape services (format: 'service=replicas,service2=replicas')
41-
--sync-landscape Deploy landscape from CI profile after waking up
42-
--timeout duration Timeout for waking up the workspace (default 2m0s)
35+
-h, --help help for wake-up
36+
-p, --profile string CI profile to use for landscape deploy (e.g. 'prod' for ci.prod.yml)
37+
--sync-landscape Deploy landscape from CI profile after waking up
38+
--timeout duration Timeout for waking up the workspace (default 2m0s)
4339
```
4440

4541
### Options inherited from parent commands

0 commit comments

Comments
 (0)