eks

Provide the AWS credentials in following ways:

Create a cluster

Adapt the config.yaml file to specify the cluster details. Example config:

eks:
  cluster-name: "kubernauts-eks"
  aws_region: "us-west-2"
  node-instance-type: "m4.large"
  desired-capacity: 1
  autoscalling-max-size: 2
  autoscalling-min-size: 1  
  key-file-path: "~/.ssh/id_rsa.pub"

Prerequisites using EKS

Once done run:

or with Docker

Post installation the kubeconfig will be available at: $(pwd)/inventory/yourWorkspaceOrClusterName/provisioner/kubeconfig

Do not delete the inventory directory post installation as the cluster state will be saved in it.

Destroy the provisioned cluster

Make sure you are in same directory where you executed tk8 cluster install eks with the inventory directory. If you use a different workspace name with the --name flag please provide it on destroying too.

To delete the provisioned cluster run:

or with Docker

Last updated