Skip to content

aws_eks_node_group supports taints from aws provider version 3.43.0 #1403

@stevie-

Description

@stevie-

Is your request related to a new offering from AWS?

yes, scheduled for release 3.43.0
hashicorp/terraform-provider-aws#19310

Is your request related to a problem? Please describe.

Will solve workaround with kubelet_extra_args to add taints to nodes
and relates to some issues:
#1232
#1214
#1085
#962

Describe the solution you'd like.

Simply set the block and make it available as input variable similar to k8s_labels

resource "aws_eks_node_group" "example" {
  ...

  taint {
    key    = "dedicated"
    value  = "gpuGroup"
    effect = "NO_SCHEDULE"
  }

  taint {
    key    = "special"
    value  = "true"
    effect = "PREFER_NO_SCHEDULE"
  }
}

Describe alternatives you've considered.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions