-
Notifications
You must be signed in to change notification settings - Fork 108
Migrate AWS EKS AMI from Amazon Linux 2 to Amazon Linux 2023 #3166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 3 commits
4754db9
25698ed
8b5aa3a
2342f16
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,8 +8,7 @@ locals { | |
| node_group_policies = concat([ | ||
| "arn:${local.partition}:iam::aws:policy/AmazonEKSWorkerNodePolicy", | ||
| "arn:${local.partition}:iam::aws:policy/AmazonEKS_CNI_Policy", | ||
| "arn:${local.partition}:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy", | ||
| aws_iam_policy.worker_autoscaling.arn | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the role is no longer needed on the node |
||
| "arn:${local.partition}:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy" | ||
| ], var.node_group_additional_policies) | ||
|
|
||
| gpu_node_group_names = [for node_group in var.node_groups : node_group.name if node_group.gpu == true] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ terraform { | |
| required_providers { | ||
| aws = { | ||
| source = "hashicorp/aws" | ||
| version = "5.33.0" | ||
| version = "6.18.0" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice! |
||
| } | ||
| } | ||
| required_version = ">= 1.0" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,12 +4,18 @@ resource "helm_release" "autoscaler" { | |
|
|
||
| repository = "https://kubernetes.github.io/autoscaler" | ||
| chart = "cluster-autoscaler" | ||
| version = "9.19.0" | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also took the opportunity to update the version here |
||
| version = "9.52.1" | ||
|
|
||
| values = concat([ | ||
| jsonencode({ | ||
| rbac = { | ||
| create = true | ||
| serviceAccount = { | ||
| name = "cluster-autoscaler" | ||
| annotations = { | ||
| "eks.amazonaws.com/role-arn" = var.iam_role_arn | ||
| } | ||
| } | ||
| } | ||
|
|
||
| cloudProvider = "aws" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you check the nvidia works with those new ami's ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently waiting for quota increase approval since we're on OT Nebari dev AWS account now instead of QS.