Skip to content

Terraform template to spin-up a basic EKS cluster with an autoscaling group for worker nodes

Notifications You must be signed in to change notification settings

fervartel/tf-eks-project

Repository files navigation

EKS Getting Started Guide Configuration

DISCLAIMER: All related information credits goes to Terraform Guides:

This is the full configuration from https://www.terraform.io/docs/providers/aws/guides/eks-getting-started.html

See that guide for additional information.

NOTE: This full configuration utilizes the Terraform http provider to call out to icanhazip.com to determine your local workstation external IP for easily configuring EC2 Security Group access to the Kubernetes master servers. Feel free to replace this as necessary.

Configure kubectl to interact with EKS cluster

aws eks update-kubeconfig --name <<eks_cluster_name>>

This command will update ~/.kube/config file

You can optionally use --profile and --region

Allow WorkerNodes to join EKS cluster

terraform output config_map_aws_auth > ~/config_map_aws_auth.yaml
kubectl apply -f ~/config_map_aws_auth.yaml
kubectl get nodes --watch

About

Terraform template to spin-up a basic EKS cluster with an autoscaling group for worker nodes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages