-
Notifications
You must be signed in to change notification settings - Fork 4
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
Align taints and labels #203
base: main
Are you sure you want to change the base?
Conversation
k8s-eks-addons.tf
Outdated
gpu_operator_config = var.gpu_operator_config | ||
gpu_operator_config = merge( | ||
var.gpu_operator_config, | ||
var.ivsGpuNodePool ? { driver_versions = distinct(concat([for driver in var.gpu_operator_config.driver_versions : driver], [var.ivsGpuDriverVersion])) } : {} |
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.
gpu_operator_config = merge(
var.gpu_operator_config,
var.ivsGpuNodePool ? {
driver_versions = distinct(concat(var.gpu_operator_config.driver_versions, [var.ivsGpuDriverVersion]))
} : {}
)
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.
list comprehension unnecessary, var.gpu_operator_config.driver_versions
is already a list
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.
Removed comprehension.
"product" = "ivs", | ||
"purpose" = "gpu" | ||
"product" = "ivs", | ||
"gpu-driver" = var.ivsGpuDriverVersion |
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.
why do we need this label?
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.
This label is used to install correct driver.
This PR aligns taints and labels of EKS nodegroups.
Terraform v1.9.4
on windows_amd64