-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[339] added cluster sleep/wake commands
- Loading branch information
Showing
7 changed files
with
158 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
$ uffizzi cluster sleep -h | ||
uffizzi-cluster-sleep - put a cluster to sleep (non-destructive) | ||
================================================================ | ||
|
||
## SYNOPSIS | ||
uffizzi cluster sleep [CLUSTER_NAME] | ||
|
||
## DESCRIPTION | ||
Scales a Uffizzi cluster down to zero resource utilization | ||
while keeping the namespace and any stateful resources, | ||
like persistent volume claims. If no CLUSTER_NAME is | ||
specified, the kubeconfig current context is used. | ||
|
||
For more information on Uffizzi clusters, see: | ||
https://docs.uffizzi.com/references/cli/ | ||
|
||
## OPTIONS | ||
CLUSTER_NAME | ||
The name of the target Uffizzi cluster | ||
|
||
## EXAMPLES | ||
To put the Uffizzi cluster in the current context to | ||
sleep, run: | ||
|
||
$ uffizzi cluster sleep | ||
|
||
To put a Uffizzi cluster outside the current context to | ||
sleep, run: | ||
|
||
$ uffizzi cluster sleep my-cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
$ uffizzi cluster wake -h | ||
uffizzi-cluster-wake - wake a cluster that is sleeping | ||
================================================================ | ||
|
||
## SYNOPSIS | ||
uffizzi cluster wake [CLUSTER_NAME] | ||
|
||
## DESCRIPTION | ||
Scales up a Uffizzi cluster to its original resource | ||
utilization from zero (see 'uffizzi cluster sleep -h'). | ||
If no CLUSTER_NAME is specified, the kubeconfig current | ||
context is used. | ||
|
||
For more information on Uffizzi clusters, see: | ||
https://docs.uffizzi.com/references/cli/ | ||
|
||
## OPTIONS | ||
CLUSTER_NAME | ||
The name of the target Uffizzi cluster | ||
|
||
## EXAMPLES | ||
To wake the Uffizzi cluster in the current context, run: | ||
|
||
$ uffizzi cluster wake | ||
|
||
To wake a Uffizzi cluster outside the current context, run: | ||
|
||
$ uffizzi cluster wake my-cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters