Skip to content

Node taints for Node Groups #962

@mattlawnz

Description

@mattlawnz

I have issues

I'm submitting a...

  • bug report
  • feature request
  • support request - read the FAQ first!
  • kudos, thank you, warm fuzzy

What is the current behavior?

I need to be able to set taints on newly created node groups. These node groups will be highly varialbe in terms of sizing, so the taints are required on creation.

If this is a bug, how to reproduce? Please include a code sample if relevant.

I thought of adding kubelt_extra_args to the node group defination, but it didnt work, or perhaps thats not the right way to do it?

    az3-c = {
      desired_capacity = 1
      max_capacity     = 2
      min_capacity     = 1
      subnets          = ["subnet-004514be54bcd7eb7"]
      kubelet_extra_args = "--node-labels=function=data_only --register-with-taints=function=data_only:NoSchedule"
      instance_type = "m5a.4xlarge"
      additional_tags = {
        Name = module.eks_dev_label.id
      }
    }

What's the expected behavior?

Was hoping for a node taint to be applied.

Are you able to fix this problem and submit a PR? Link here if you have already.

Environment details

  • Affected module version: "12.1.0"
  • OS: Mac
  • Terraform version: Terraform v0.12.26

Any other relevant info

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