This repo provides terraform modules based on the brilliant implementation from Wesley Charles Blake, the modules have been slightly extended to provide the ability to ssh inito the worker nodes for troubleshooting:
https://github.com/WesleyCharlesBlake
The golang sources for tk8eks cli was implemented by our awesome and lovely Kubernaut Christopher Adigun, who implemented the first version of tk8 cli. this implementation will be integrated in tk8 v0.5 very soon.
-
Clone this repo
-
Set the desired region and number of worker nodes in variables.tf file
-
Set the path to your public key in eks-worker-nodes.tf under modules/eks/
-
Download terraform for darwin or linux and put in the root of the cloned repo
-
Install aws-iam-authenticator (heptio-authenticator-aws)
-
Download tk8eks cli from releases
-
export AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-
export AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxx
-
run "./tk8eks-darwin-amd64 create" or "./tk8eks-linux-amd64 create" to deploy the cluster
-
run "./tk8eks-darwin-amd64 delete" or "./tk8eks-linux-amd64 delete" to delete the cluster
$ go build .
Join us on Kubernauts Slack Channel: