Skip to content

Commit e97da4d

Browse files
h3adexrubenhoenle
andauthored
feat(ske): add commands to trigger hibernate, wakeup maintenance, and reconcile (#873)
relates to STACKITCLI-53 --------- Co-authored-by: Ruben Hoenle <[email protected]>
1 parent d4663b2 commit e97da4d

28 files changed

+1423
-38
lines changed

docs/stackit_ske_cluster.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ stackit ske cluster [flags]
3030
### SEE ALSO
3131

3232
* [stackit ske](./stackit_ske.md) - Provides functionality for SKE
33-
* [stackit ske cluster create](./stackit_ske_cluster_create.md) - Creates an SKE cluster
33+
* [stackit ske cluster create](./stackit_ske_cluster_create.md) - Creates a SKE cluster
3434
* [stackit ske cluster delete](./stackit_ske_cluster_delete.md) - Deletes a SKE cluster
35-
* [stackit ske cluster describe](./stackit_ske_cluster_describe.md) - Shows details of a SKE cluster
35+
* [stackit ske cluster describe](./stackit_ske_cluster_describe.md) - Shows details of a SKE cluster
3636
* [stackit ske cluster generate-payload](./stackit_ske_cluster_generate-payload.md) - Generates a payload to create/update SKE clusters
37+
* [stackit ske cluster hibernate](./stackit_ske_cluster_hibernate.md) - Trigger hibernate for a SKE cluster
3738
* [stackit ske cluster list](./stackit_ske_cluster_list.md) - Lists all SKE clusters
38-
* [stackit ske cluster update](./stackit_ske_cluster_update.md) - Updates an SKE cluster
39+
* [stackit ske cluster maintenance](./stackit_ske_cluster_maintenance.md) - Trigger maintenance for a SKE cluster
40+
* [stackit ske cluster reconcile](./stackit_ske_cluster_reconcile.md) - Trigger reconcile for a SKE cluster
41+
* [stackit ske cluster update](./stackit_ske_cluster_update.md) - Updates a SKE cluster
42+
* [stackit ske cluster wakeup](./stackit_ske_cluster_wakeup.md) - Trigger wakeup from hibernation for a SKE cluster
3943

docs/stackit_ske_cluster_create.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## stackit ske cluster create
22

3-
Creates an SKE cluster
3+
Creates a SKE cluster
44

55
### Synopsis
66

@@ -15,13 +15,13 @@ stackit ske cluster create CLUSTER_NAME [flags]
1515
### Examples
1616

1717
```
18-
Create an SKE cluster using default configuration
18+
Create a SKE cluster using default configuration
1919
$ stackit ske cluster create my-cluster
2020
21-
Create an SKE cluster using an API payload sourced from the file "./payload.json"
21+
Create a SKE cluster using an API payload sourced from the file "./payload.json"
2222
$ stackit ske cluster create my-cluster --payload @./payload.json
2323
24-
Create an SKE cluster using an API payload provided as a JSON string
24+
Create a SKE cluster using an API payload provided as a JSON string
2525
$ stackit ske cluster create my-cluster --payload "{...}"
2626
2727
Generate a payload with default values, and adapt it with custom values for the different configuration options

docs/stackit_ske_cluster_delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ stackit ske cluster delete CLUSTER_NAME [flags]
1313
### Examples
1414

1515
```
16-
Delete an SKE cluster with name "my-cluster"
16+
Delete a SKE cluster with name "my-cluster"
1717
$ stackit ske cluster delete my-cluster
1818
```
1919

docs/stackit_ske_cluster_describe.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## stackit ske cluster describe
22

3-
Shows details of a SKE cluster
3+
Shows details of a SKE cluster
44

55
### Synopsis
66

7-
Shows details of a STACKIT Kubernetes Engine (SKE) cluster.
7+
Shows details of a STACKIT Kubernetes Engine (SKE) cluster.
88

99
```
1010
stackit ske cluster describe CLUSTER_NAME [flags]
@@ -13,10 +13,10 @@ stackit ske cluster describe CLUSTER_NAME [flags]
1313
### Examples
1414

1515
```
16-
Get details of an SKE cluster with name "my-cluster"
16+
Get details of a SKE cluster with name "my-cluster"
1717
$ stackit ske cluster describe my-cluster
1818
19-
Get details of an SKE cluster with name "my-cluster" in JSON format
19+
Get details of a SKE cluster with name "my-cluster" in JSON format
2020
$ stackit ske cluster describe my-cluster --output-format json
2121
```
2222

docs/stackit_ske_cluster_hibernate.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit ske cluster hibernate
2+
3+
Trigger hibernate for a SKE cluster
4+
5+
### Synopsis
6+
7+
Trigger hibernate for a STACKIT Kubernetes Engine (SKE) cluster.
8+
9+
```
10+
stackit ske cluster hibernate CLUSTER_NAME [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Trigger hibernate for a SKE cluster with name "my-cluster"
17+
$ stackit ske cluster hibernate my-cluster
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit ske cluster hibernate"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit ske cluster](./stackit_ske_cluster.md) - Provides functionality for SKE cluster
40+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit ske cluster maintenance
2+
3+
Trigger maintenance for a SKE cluster
4+
5+
### Synopsis
6+
7+
Trigger maintenance for a STACKIT Kubernetes Engine (SKE) cluster.
8+
9+
```
10+
stackit ske cluster maintenance CLUSTER_NAME [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Trigger maintenance for a SKE cluster with name "my-cluster"
17+
$ stackit ske cluster maintenance my-cluster
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit ske cluster maintenance"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit ske cluster](./stackit_ske_cluster.md) - Provides functionality for SKE cluster
40+

docs/stackit_ske_cluster_reconcile.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit ske cluster reconcile
2+
3+
Trigger reconcile for a SKE cluster
4+
5+
### Synopsis
6+
7+
Trigger reconcile for a STACKIT Kubernetes Engine (SKE) cluster.
8+
9+
```
10+
stackit ske cluster reconcile CLUSTER_NAME [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Trigger reconcile for a SKE cluster with name "my-cluster"
17+
$ stackit ske cluster reconcile my-cluster
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit ske cluster reconcile"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit ske cluster](./stackit_ske_cluster.md) - Provides functionality for SKE cluster
40+

docs/stackit_ske_cluster_update.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## stackit ske cluster update
22

3-
Updates an SKE cluster
3+
Updates a SKE cluster
44

55
### Synopsis
66

@@ -15,10 +15,10 @@ stackit ske cluster update CLUSTER_NAME [flags]
1515
### Examples
1616

1717
```
18-
Update an SKE cluster using an API payload sourced from the file "./payload.json"
18+
Update a SKE cluster using an API payload sourced from the file "./payload.json"
1919
$ stackit ske cluster update my-cluster --payload @./payload.json
2020
21-
Update an SKE cluster using an API payload provided as a JSON string
21+
Update a SKE cluster using an API payload provided as a JSON string
2222
$ stackit ske cluster update my-cluster --payload "{...}"
2323
2424
Generate a payload with the current values of a cluster, and adapt it with custom values for the different configuration options

docs/stackit_ske_cluster_wakeup.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit ske cluster wakeup
2+
3+
Trigger wakeup from hibernation for a SKE cluster
4+
5+
### Synopsis
6+
7+
Trigger wakeup from hibernation for a STACKIT Kubernetes Engine (SKE) cluster.
8+
9+
```
10+
stackit ske cluster wakeup CLUSTER_NAME [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Trigger wakeup from hibernation for a SKE cluster with name "my-cluster"
17+
$ stackit ske cluster wakeup my-cluster
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit ske cluster wakeup"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit ske cluster](./stackit_ske_cluster.md) - Provides functionality for SKE cluster
40+

docs/stackit_ske_kubeconfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ stackit ske kubeconfig [flags]
3030
### SEE ALSO
3131

3232
* [stackit ske](./stackit_ske.md) - Provides functionality for SKE
33-
* [stackit ske kubeconfig create](./stackit_ske_kubeconfig_create.md) - Creates or update a kubeconfig for an SKE cluster
33+
* [stackit ske kubeconfig create](./stackit_ske_kubeconfig_create.md) - Creates or update a kubeconfig for a SKE cluster
3434
* [stackit ske kubeconfig login](./stackit_ske_kubeconfig_login.md) - Login plugin for kubernetes clients
3535

0 commit comments

Comments
 (0)