-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from loft-sh/update-docs
docs for upcoming release
- Loading branch information
Showing
42 changed files
with
1,503 additions
and
96 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
title: "Command - loft" | ||
sidebar_label: loft | ||
--- | ||
|
||
## loft | ||
|
||
Welcome to Loft! | ||
|
||
### Synopsis | ||
|
||
Loft root command | ||
|
||
### Options | ||
|
||
``` | ||
--config string The loft config to use (will be created if it does not exist) (default "C:\\Users\\gente\\.loft\\config.json") | ||
--debug Prints the stack trace if an error occurs | ||
-h, --help help for loft | ||
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) | ||
--silent Run in silent mode and prevents any devspace log output except panics & fatals | ||
``` | ||
|
||
``` | ||
``` | ||
|
||
|
||
## Flags | ||
## Global & Inherited Flags |
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,34 @@ | ||
--- | ||
title: "Command - loft connect" | ||
sidebar_label: loft connect | ||
--- | ||
|
||
|
||
Connects to loft resources | ||
|
||
## Synopsis | ||
|
||
|
||
``` | ||
####################################################### | ||
#################### loft connect ##################### | ||
####################################################### | ||
``` | ||
|
||
|
||
## Flags | ||
|
||
``` | ||
-h, --help help for connect | ||
``` | ||
|
||
|
||
## Global & Inherited Flags | ||
|
||
``` | ||
--config string The loft config to use (will be created if it does not exist) (default "C:\\Users\\gente\\.loft\\config.json") | ||
--debug Prints the stack trace if an error occurs | ||
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) | ||
--silent Run in silent mode and prevents any devspace log output except panics & fatals | ||
``` | ||
|
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,50 @@ | ||
--- | ||
title: "Command - loft connect vcluster" | ||
sidebar_label: loft connect vcluster | ||
--- | ||
|
||
|
||
Connects to a virtual cluster in the given parent cluster | ||
|
||
## Synopsis | ||
|
||
|
||
``` | ||
loft connect vcluster [flags] | ||
``` | ||
|
||
``` | ||
####################################################### | ||
############### loft connect vcluster ################# | ||
####################################################### | ||
This command connects to a virtual cluster directly via | ||
port-forwarding and writes a kube config to the specified | ||
location. | ||
Example: | ||
loft connect vcluster test | ||
loft connect vcluster test --namespace test | ||
####################################################### | ||
``` | ||
|
||
|
||
## Flags | ||
|
||
``` | ||
-h, --help help for vcluster | ||
--local-port int The local port to forward the virtual cluster to (default 8443) | ||
-n, --namespace string The namespace to use (default "default") | ||
--out-kube-config string The path to write the resulting kube config to (default "kubeconfig.yaml") | ||
--print When enabled prints the context to stdout | ||
``` | ||
|
||
|
||
## Global & Inherited Flags | ||
|
||
``` | ||
--config string The loft config to use (will be created if it does not exist) (default "C:\\Users\\gente\\.loft\\config.json") | ||
--debug Prints the stack trace if an error occurs | ||
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) | ||
--silent Run in silent mode and prevents any devspace log output except panics & fatals | ||
``` | ||
|
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,34 @@ | ||
--- | ||
title: "Command - loft create" | ||
sidebar_label: loft create | ||
--- | ||
|
||
|
||
Creates loft resources | ||
|
||
## Synopsis | ||
|
||
|
||
``` | ||
####################################################### | ||
##################### loft create ##################### | ||
####################################################### | ||
``` | ||
|
||
|
||
## Flags | ||
|
||
``` | ||
-h, --help help for create | ||
``` | ||
|
||
|
||
## Global & Inherited Flags | ||
|
||
``` | ||
--config string The loft config to use (will be created if it does not exist) (default "C:\\Users\\gente\\.loft\\config.json") | ||
--debug Prints the stack trace if an error occurs | ||
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) | ||
--silent Run in silent mode and prevents any devspace log output except panics & fatals | ||
``` | ||
|
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,50 @@ | ||
--- | ||
title: "Command - loft create space" | ||
sidebar_label: loft create space | ||
--- | ||
|
||
|
||
Creates a new space in the given cluster | ||
|
||
## Synopsis | ||
|
||
|
||
``` | ||
loft create space [flags] | ||
``` | ||
|
||
``` | ||
####################################################### | ||
################## loft create space ################## | ||
####################################################### | ||
Creates a new kube context for the given cluster, if | ||
it does not yet exist. | ||
Example: | ||
loft create space myspace | ||
loft create space myspace --cluster mycluster | ||
loft create space myspace --cluster mycluster --account myaccount | ||
####################################################### | ||
``` | ||
|
||
|
||
## Flags | ||
|
||
``` | ||
--account string The cluster account to use | ||
--cluster string The cluster to use | ||
--create-context If loft should create a kube context for the space (default true) | ||
-h, --help help for space | ||
--switch-context If loft should switch the current context to the new context (default true) | ||
``` | ||
|
||
|
||
## Global & Inherited Flags | ||
|
||
``` | ||
--config string The loft config to use (will be created if it does not exist) (default "C:\\Users\\gente\\.loft\\config.json") | ||
--debug Prints the stack trace if an error occurs | ||
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) | ||
--silent Run in silent mode and prevents any devspace log output except panics & fatals | ||
``` | ||
|
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,52 @@ | ||
--- | ||
title: "Command - loft create vcluster" | ||
sidebar_label: loft create vcluster | ||
--- | ||
|
||
|
||
Creates a new virtual cluster in the given parent cluster | ||
|
||
## Synopsis | ||
|
||
|
||
``` | ||
loft create vcluster [flags] | ||
``` | ||
|
||
``` | ||
####################################################### | ||
################ loft create vcluster ################# | ||
####################################################### | ||
Creates a new virtual cluster in a given space and | ||
cluster. If no space or cluster is specified the user | ||
will be asked. | ||
Example: | ||
loft create vcluster test | ||
loft create vcluster test --cluster mycluster | ||
loft create vcluster test --cluster mycluster --space myspace | ||
####################################################### | ||
``` | ||
|
||
|
||
## Flags | ||
|
||
``` | ||
--account string The cluster account to create the space with if it doesn't exist | ||
--cluster string The cluster to create the virtual cluster in | ||
--create-context If loft should create a kube context for the space (default true) | ||
-h, --help help for vcluster | ||
--space string The space to create the virtual cluster in | ||
--switch-context If loft should switch the current context to the new context (default true) | ||
``` | ||
|
||
|
||
## Global & Inherited Flags | ||
|
||
``` | ||
--config string The loft config to use (will be created if it does not exist) (default "C:\\Users\\gente\\.loft\\config.json") | ||
--debug Prints the stack trace if an error occurs | ||
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) | ||
--silent Run in silent mode and prevents any devspace log output except panics & fatals | ||
``` | ||
|
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,34 @@ | ||
--- | ||
title: "Command - loft delete" | ||
sidebar_label: loft delete | ||
--- | ||
|
||
|
||
Deletes loft resources | ||
|
||
## Synopsis | ||
|
||
|
||
``` | ||
####################################################### | ||
##################### loft delete ##################### | ||
####################################################### | ||
``` | ||
|
||
|
||
## Flags | ||
|
||
``` | ||
-h, --help help for delete | ||
``` | ||
|
||
|
||
## Global & Inherited Flags | ||
|
||
``` | ||
--config string The loft config to use (will be created if it does not exist) (default "C:\\Users\\gente\\.loft\\config.json") | ||
--debug Prints the stack trace if an error occurs | ||
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) | ||
--silent Run in silent mode and prevents any devspace log output except panics & fatals | ||
``` | ||
|
Oops, something went wrong.