-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dipankar Das <[email protected]>
- Loading branch information
1 parent
0938a03
commit 97bf30c
Showing
59 changed files
with
566 additions
and
195 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,59 @@ | ||
## ksctl connect-cluster | ||
|
||
Use to switch between clusters | ||
|
||
### Synopsis | ||
|
||
[105;90m[0;0m | ||
[104;90m░ ░░░░ ░░░ ░░░░ ░░░ ░░ ░░░░░░░[0;0m | ||
[106;90m▒ ▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒▒▒[0;0m | ||
[102;90m▓ ▓▓▓▓▓▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓▓▓[0;0m | ||
[103;90m▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓ ▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓▓▓[0;0m | ||
[101;90m█ ████ ███ ████ ██████ █████ █[0;0m | ||
|
||
[103;30mIt is used to switch cluster with the given ClusterName from user.[0;0m | ||
|
||
``` | ||
ksctl connect-cluster [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
ksctl connect-context --provider civo --name <clustername> --region <region> | ||
ksctl connect --provider civo --name <clustername> --region <region> | ||
ksctl switch --provider civo --name <clustername> --region <region> | ||
ksctl connect --provider civo --name <clustername> --region <region> | ||
ksctl connect-context --provider local --name <clustername> | ||
ksctl connect-context --provider azure --name <clustername> --region <region> | ||
ksctl connect-context --provider ha-civo --name <clustername> --region <region> | ||
ksctl connect-context --provider ha-azure --name <clustername> --region <region> | ||
ksctl connect-context --provider ha-aws --name <clustername> --region <region> | ||
ksctl connect-context --provider aws --name <clustername> --region <region> | ||
For Storage specific | ||
ksctl connect-context -s store-local -p civo -n <clustername> -r <region> | ||
ksctl connect-context -s external-store-mongodb -p civo -n <clustername> -r <region> | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--feature-flags string Experimental Features: Supported values with comma seperated: [autoscale] | ||
-h, --help help for connect-cluster | ||
-m, --mode string Mode of access can be shell or k9s or none | ||
-n, --name string Cluster Name (default "demo") | ||
-p, --provider string Provider | ||
-r, --region string Region | ||
-s, --storage string storage provider | ||
-v, --verbose int for verbose output | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [ksctl](ksctl.md) - CLI tool for managing multiple K8s clusters | ||
|
||
###### Auto generated by spf13/cobra on 24-Aug-2024 |
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
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 |
---|---|---|
|
@@ -4,7 +4,14 @@ Use to create a self-managed Highly Available cluster on AWS | |
|
||
### Synopsis | ||
|
||
It is used to create cluster with the given name from user. | ||
[105;90m[0;0m | ||
[104;90m░ ░░░░ ░░░ ░░░░ ░░░ ░░ ░░░░░░░[0;0m | ||
[106;90m▒ ▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒▒▒[0;0m | ||
[102;90m▓ ▓▓▓▓▓▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓▓▓[0;0m | ||
[103;90m▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓ ▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓▓▓[0;0m | ||
[101;90m█ ████ ███ ████ ██████ █████ █[0;0m | ||
|
||
[103;30mIt is used to create cluster with the given name from user.[0;0m | ||
|
||
``` | ||
ksctl create-cluster ha-aws [flags] | ||
|
@@ -14,14 +21,13 @@ ksctl create-cluster ha-aws [flags] | |
|
||
``` | ||
ksctl create-cluster ha-aws -n demo -r us-east-1 --bootstrap k3s -s store-local --nodeSizeCP t2.medium --nodeSizeWP t2.medium --nodeSizeLB t2.micro --nodeSizeDS t2.small --noWP 1 --noCP 3 --noDS 3 | ||
ksctl create-cluster ha-aws -n demo -r us-east-1 --bootstrap k3s -s store-local --nodeSizeCP t2.medium --nodeSizeWP t2.medium --nodeSizeLB t2.micro --nodeSizeDS t2.small --noWP 1 --noCP 3 --noDS 3 --cni [email protected] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--apps string Pre-Installed Applications | ||
--bootstrap string Kubernetes Bootstrap | ||
--cni string CNI | ||
--feature-flags string Experimental Features: Supported values with comma seperated: [autoscale] | ||
|
@@ -46,4 +52,4 @@ ksctl create-cluster ha-aws -n demo -r us-east-1 --bootstrap k3s -s store-local | |
* [ksctl create-cluster](ksctl_create-cluster.md) - Use to create a cluster | ||
* [ksctl create-cluster ha-aws add-nodes](ksctl_create-cluster_ha-aws_add-nodes.md) - Use to add more worker nodes in self-managed Highly-Available cluster on Aws | ||
|
||
###### Auto generated by spf13/cobra on 2-Aug-2024 | ||
###### Auto generated by spf13/cobra on 24-Aug-2024 |
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 |
---|---|---|
|
@@ -4,7 +4,14 @@ Use to create a self-managed Highly-Available cluster on Azure | |
|
||
### Synopsis | ||
|
||
It is used to create cluster with the given name from user | ||
[105;90m[0;0m | ||
[104;90m░ ░░░░ ░░░ ░░░░ ░░░ ░░ ░░░░░░░[0;0m | ||
[106;90m▒ ▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒▒▒[0;0m | ||
[102;90m▓ ▓▓▓▓▓▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓▓▓[0;0m | ||
[103;90m▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓ ▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓▓▓[0;0m | ||
[101;90m█ ████ ███ ████ ██████ █████ █[0;0m | ||
|
||
[103;30mIt is used to create cluster with the given name from user[0;0m | ||
|
||
``` | ||
ksctl create-cluster ha-azure [flags] | ||
|
@@ -15,14 +22,13 @@ ksctl create-cluster ha-azure [flags] | |
``` | ||
ksctl create-cluster ha-azure --name demo --region eastus --bootstrap k3s --storage store-local --nodeSizeCP Standard_F2s --nodeSizeWP Standard_F2s --nodeSizeLB Standard_F2s --nodeSizeDS Standard_F2s --noWP 1 --noCP 3 --noDS 3 | ||
ksctl create-cluster ha-azure --name demo --region eastus --bootstrap kubeadm --storage store-local --nodeSizeCP Standard_F2s --nodeSizeWP Standard_F4s --nodeSizeLB Standard_F2s --nodeSizeDS Standard_F2s --noWP 1 --noCP 3 --noDS 3 | ||
ksctl create-cluster ha-azure --name demo --region eastus --bootstrap kubeadm --storage store-local --nodeSizeCP Standard_F2s --nodeSizeWP Standard_F4s --nodeSizeLB Standard_F2s --nodeSizeDS Standard_F2s --noWP 1 --noCP 3 --noDS 3 --cni [email protected] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--apps string Pre-Installed Applications | ||
--bootstrap string Kubernetes Bootstrap | ||
--cni string CNI | ||
--feature-flags string Experimental Features: Supported values with comma seperated: [autoscale] | ||
|
@@ -47,4 +53,4 @@ ksctl create-cluster ha-azure --name demo --region eastus --bootstrap kubeadm -- | |
* [ksctl create-cluster](ksctl_create-cluster.md) - Use to create a cluster | ||
* [ksctl create-cluster ha-azure add-nodes](ksctl_create-cluster_ha-azure_add-nodes.md) - Use to add more worker nodes in self-managed Highly-Available cluster on Azure | ||
|
||
###### Auto generated by spf13/cobra on 2-Aug-2024 | ||
###### Auto generated by spf13/cobra on 24-Aug-2024 |
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
Oops, something went wrong.