- Setup eks using terraform eks module
- Install or update aws cli
pip3 install awscli --upgrade --user
- Install authenticator
brew install aws-iam-authenticator
- Switch config to point to aws cluster
aws eks --region eu-west-1 update-kubeconfig --name eks
- Test
kubectl get svc
Created
February 8, 2019 14:08
-
-
Save lukasz-kaniowski/d9ebcfa5a2238c951ef3c9f5ba0e9e17 to your computer and use it in GitHub Desktop.
setup eks and deploy sample app
This file contains hidden or 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
module "eks" { | |
source = "terraform-aws-modules/eks/aws" | |
cluster_name = "eks" | |
subnets = ["${module.vpc.public_subnets}"] | |
vpc_id = "${module.vpc.vpc_id}" | |
worker_groups = [ | |
{ | |
instance_type = "m4.large" | |
asg_max_size = 5 | |
} | |
] | |
tags = { | |
environment = "dev" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment