Skip to content

Commit 431e314

Browse files
aLekSerRobert Bailey
andauthored
Docs and TF: Update EKS Kubernetes version to use 1.16 (agones-dev#1790)
* Update EKS Kubernetes version to use 1.16 Update Terraform and website to use 1.16 version. * Update terraform-aws-eks version to the latest Tested this version, both apply and two stages destruction works fine, no resources left behind. Co-authored-by: Robert Bailey <robertbailey@google.com>
1 parent 507da4f commit 431e314

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

  • install/terraform/modules/eks
  • site/content/en/docs/Installation/Creating Cluster

‎install/terraform/modules/eks/eks.tf‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ terraform {
1818
}
1919

2020
provider "aws" {
21-
version = "= 2.51.0"
21+
version = ">= 2.55.0"
2222
region = var.region
2323
}
2424

@@ -58,7 +58,7 @@ resource "aws_security_group" "worker_group_mgmt_one" {
5858

5959
module "vpc" {
6060
source = "terraform-aws-modules/vpc/aws"
61-
version = "2.21.0"
61+
version = "2.47.0"
6262

6363
name = "test-vpc-lt"
6464
cidr = "10.0.0.0/16"
@@ -77,11 +77,11 @@ module "vpc" {
7777
}
7878

7979
module "eks" {
80-
source = "git::github.com/terraform-aws-modules/terraform-aws-eks.git?ref=v7.0.1"
80+
source = "git::github.com/terraform-aws-modules/terraform-aws-eks.git?ref=v12.2.0"
8181
cluster_name = var.cluster_name
8282
subnets = module.vpc.public_subnets
8383
vpc_id = module.vpc.vpc_id
84-
cluster_version = "1.15"
84+
cluster_version = "1.16"
8585

8686
worker_groups_launch_template = [
8787
{

‎site/content/en/docs/Installation/Creating Cluster/eks.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Possible steps are the following:
1515
1. Run `aws configure` to authorize your `awscli` with proper `AWS Access Key ID` and `AWS Secret Access Key`.
1616
1. Create an example cluster:
1717

18+
{{% feature expiryVersion="1.9.0" %}}
1819
```
1920
eksctl create cluster \
2021
--name prod \
@@ -26,6 +27,20 @@ eksctl create cluster \
2627
--nodes-max 4 \
2728
--node-ami auto
2829
```
30+
{{% /feature %}}
31+
{{% feature publishVersion="1.9.0" %}}
32+
```
33+
eksctl create cluster \
34+
--name prod \
35+
--version 1.16 \
36+
--nodegroup-name standard-workers \
37+
--node-type t3.medium \
38+
--nodes 3 \
39+
--nodes-min 3 \
40+
--nodes-max 4 \
41+
--node-ami auto
42+
```
43+
{{% /feature %}}
2944

3045
{{< alert title="Note" color="info">}}
3146
EKS does not use the normal Kubernetes networking since it

0 commit comments

Comments
 (0)