Skip to content

Commit

Permalink
update ami for 1.33
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed May 5, 2026
1 parent ead1b6b commit 9b6c3df
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
22 changes: 11 additions & 11 deletions examples/full-cluster-tf-upgrade/1.33/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ resource "aws_eks_node_group" "eks-nodegroup" {
node_group_name = format("%v%v-nodegroup", local._prefixes["eks"], var.cluster_name)
node_role_arn = module.role_eks-nodegroup.role_arn
subnet_ids = local.subnets
ami_type = "AL2_x86_64"
ami_type = "AL2023_x86_64_STANDARD"
# instance_types = [var.eks_instance_type]
# disk_size = var.eks_instance_disk_size

Expand Down Expand Up @@ -230,17 +230,17 @@ resource "aws_launch_template" "eks-nodegroup" {
}
}

user_data = base64encode(local.eks-node-private-userdata)
# user_data = base64encode(local.eks-node-private-userdata)
}

#### User data for worker launch

locals {
eks-node-private-userdata = templatefile(
"${path.module}/templates/node-private-userdata.tmpl", {
endpoint = aws_eks_cluster.eks_cluster.endpoint
cluster_ca = aws_eks_cluster.eks_cluster.certificate_authority[0].data
cluster_name = var.cluster_name
}
)
}
# locals {
# eks-node-private-userdata = templatefile(
# "${path.module}/templates/node-private-userdata.tmpl", {
# endpoint = aws_eks_cluster.eks_cluster.endpoint
# cluster_ca = aws_eks_cluster.eks_cluster.certificate_authority[0].data
# cluster_name = var.cluster_name
# }
# )
# }
7 changes: 4 additions & 3 deletions examples/full-cluster-tf-upgrade/README.upgrade-1.32-1.33.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Copy files from 1.33/{path} to eks-{clustername}/{path}
* main.tf
* charts.yml
* images.yml
* versions.tf
* addons/addons.yml


Expand Down Expand Up @@ -56,7 +55,9 @@ There is some approach/process to upgrade the version, find it and put it here.
- addons/addon_cloudwatch.tf and
- common-services/cluster-autoscaler/cluster-autoscaler.tf

- 1.33.0 -- 2026-04-16
- 1.33.0 -- 2026-05-05
- add files to update
- addons/addons.tf
- main.tf
- charts.yml
- images.yml
- addons/addons.yml

0 comments on commit 9b6c3df

Please sign in to comment.