cli
Last updated
Last updated
You can download the TK8 CLI for Linux and Mac OSX under releases .
Make sure you have the sufficient permissions to create following resources in AWS
VPC with Public/Private Subnets, and NAT Gateways in different Availability Zones
EC2 instances used for bastion host, masters, etcd, and worker nodes
AWS ELB in the Public Subnet for accessing the Kubernetes API from the internet
IAM Roles which will be used with the nodes
Provide the AWS credentials in either of the following ways:
. You will need to specify AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
.
Adapt the config.yaml
file to specify the cluster details. :
Once done run:
Post installation the kubeconfig will be available at: $(pwd)/inventory/yourWorkspaceOrClusterName/artifacts/admin.conf
Do not delete the inventory directory post installation as the cluster state will be saved in it.
Make sure you are in same directory where you executed tk8 cluster install aws
with the inventory directory. If you use a different workspace name with the --name flag please provided it on destroying too.
To delete the provisioned cluster run: