Skip to content

Commit

Permalink
chore: update cik8s cluster to Kubernetes 1.24 (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve authored Feb 22, 2023
1 parent 446ab9b commit 4d9714b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions eks-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module "eks" {
version = "19.7.0"
cluster_name = local.cluster_name
# Kubernetes version in format '<MINOR>.<MINOR>', as per https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
cluster_version = "1.23"
cluster_version = "1.24"
# Start is inclusive, end is exclusive (!): from index 0 to index 2 (https://www.terraform.io/language/functions/slice)
# We're using the 3 first private_subnets defined in vpc.tf for this cluster
subnet_ids = slice(module.vpc.private_subnets, 0, 3)
Expand Down Expand Up @@ -47,18 +47,24 @@ module "eks" {
vpc_id = module.vpc.vpc_id

## Manage EKS addons with module - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_addon
# See new versions with `aws eks describe-addon-versions --kubernetes-version <k8s-version> --addon-name <addon>`
cluster_addons = {
# https://github.com/coredns/coredns/releases
coredns = {
addon_version = "v1.8.7-eksbuild.3"
addon_version = "v1.9.3-eksbuild.2"
}
# Kube-proxy on an Amazon EKS cluster has the same compatibility and skew policy as Kubernetes
# See https://kubernetes.io/releases/version-skew-policy/#kube-proxy
kube-proxy = {
addon_version = "v1.23.8-eksbuild.2"
addon_version = "v1.24.9-eksbuild.1"
}
# https://github.com/aws/amazon-vpc-cni-k8s/releases
vpc-cni = {
addon_version = "v1.11.4-eksbuild.1"
addon_version = "v1.12.2-eksbuild.1"
}
# https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/CHANGELOG.md
aws-ebs-csi-driver = {
addon_version = "v1.11.4-eksbuild.1"
addon_version = "v1.16.0-eksbuild.1"
service_account_role_arn = module.eks_irsa_ebs.iam_role_arn
}
}
Expand Down

0 comments on commit 4d9714b

Please sign in to comment.