From e0fd3dbe996e2e3c83577330b1b160dad91234d3 Mon Sep 17 00:00:00 2001 From: Sean Hellum Date: Tue, 21 Jul 2020 18:09:39 +0000 Subject: [PATCH] Update default version to 1.17 The most updated Kubernetes version for EKS is now up to date --- README.md | 8 ++++---- variables.tf | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 90b5eb44b2..ec1c5ab15b 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,9 @@ Read the [AWS docs on EKS to get connected to the k8s dashboard](https://docs.aw ## Important note -The default `cluster_version`is now 1.16. Kubernetes 1.16 includes a number of deprecated API removals, and you need to ensure your applications and add ons are updated, or workloads could fail after the upgrade is complete. For more information on the API removals, see the [Kubernetes blog post](https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/). For action you may need to take before upgrading, see the steps in the [EKS documentation](https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html#1-16-prequisites). +The default `cluster_version`is now 1.17. Kubernetes 1.17 includes a number of deprecated API removals, and you need to ensure your applications and add ons are updated, or workloads could fail after the upgrade is complete. For more information on the API removals, see the [Kubernetes blog post](https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/). For action you may need to take before upgrading, see the steps in the [EKS documentation](https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html#1-16-prequisites). -Please set explicitly your `cluster_version` to an older EKS version until your workloads are ready for Kubernetes 1.16. +Please set explicitly your `cluster_version` to an older EKS version until your workloads are ready for Kubernetes 1.17. ## Usage example @@ -45,7 +45,7 @@ provider "kubernetes" { module "my-cluster" { source = "terraform-aws-modules/eks/aws" cluster_name = "my-cluster" - cluster_version = "1.16" + cluster_version = "1.17" subnets = ["subnet-abcde012", "subnet-bcde012a", "subnet-fghi345a"] vpc_id = "vpc-1234556abcdef" @@ -172,7 +172,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a | cluster\_log\_retention\_in\_days | Number of days to retain log events. Default retention - 90 days. | `number` | `90` | no | | cluster\_name | Name of the EKS cluster. Also used as a prefix in names of related resources. | `string` | n/a | yes | | cluster\_security\_group\_id | If provided, the EKS cluster will be attached to this security group. If not given, a security group will be created with necessary ingress/egress to work with the workers | `string` | `""` | no | -| cluster\_version | Kubernetes version to use for the EKS cluster. | `string` | `"1.16"` | no | +| cluster\_version | Kubernetes version to use for the EKS cluster. | `string` | `"1.17"` | no | | config\_output\_path | Where to save the Kubectl config file (if `write_kubeconfig = true`). Assumed to be a directory if the value ends with a forward slash `/`. | `string` | `"./"` | no | | create\_eks | Controls if EKS resources should be created (it affects almost all resources) | `bool` | `true` | no | | eks\_oidc\_root\_ca\_thumbprint | Thumbprint of Root CA for EKS OIDC, Valid until 2037 | `string` | `"9e99a48a9960b14926bb7f3b02e22da2b0ab7280"` | no | diff --git a/variables.tf b/variables.tf index 460bdc687f..c0aa77ed84 100644 --- a/variables.tf +++ b/variables.tf @@ -28,7 +28,7 @@ variable "cluster_security_group_id" { variable "cluster_version" { description = "Kubernetes version to use for the EKS cluster." type = string - default = "1.16" + default = "1.17" } variable "config_output_path" {