mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 07:01:56 +03:00
readme updates + t2.medium worker nodes
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
|
||||
See https://www.terraform.io/docs/providers/aws/guides/eks-getting-started.html for full guide
|
||||
|
||||
|
||||
## Download kubectl
|
||||
```
|
||||
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
|
||||
chmod +x kubectl
|
||||
sudo mv kubectl /usr/local/bin
|
||||
```
|
||||
|
||||
## Download the aws-iam-authenticator
|
||||
```
|
||||
wget https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.3.0/heptio-authenticator-aws_0.3.0_linux_amd64
|
||||
|
||||
@@ -42,7 +42,7 @@ resource "aws_launch_configuration" "demo" {
|
||||
associate_public_ip_address = true
|
||||
iam_instance_profile = "${aws_iam_instance_profile.demo-node.name}"
|
||||
image_id = "${data.aws_ami.eks-worker.id}"
|
||||
instance_type = "m4.large"
|
||||
instance_type = "t2.medium"
|
||||
name_prefix = "terraform-eks-demo"
|
||||
security_groups = ["${aws_security_group.demo-node.id}"]
|
||||
user_data_base64 = "${base64encode(local.demo-node-userdata)}"
|
||||
|
||||
Reference in New Issue
Block a user