Skip to content

Need ability to set AWS tags on specific node groups #27

@hodgesrm

Description

@hodgesrm

There does not appear to be a way to tags on specific node groups. For example, the following node group tags clause does not seem to have effect when applied to an existing node group.

The "k8s.io/cluster-autoscaler/node-template/label/aws.amazon.com/eks-local-ssd" = "true" is a tag that the Kubernetes auto-scaler needs to see in order to infer that workers from this group will have the aws.amazon.com/eks-local-ssd=true label when they are created.

    {
      name          = "clickhouse-nvme-swarm"
      instance_type = "i8g.xlarge"
      ami_type      = "AL2_ARM_64"
      desired_size  = 0
      max_size      = 20
      min_size      = 0
      zones         = ["${local.region}a"]
      # zones         = ["${local.region}a", "${local.region}b", "${local.region}c"]
      taints        = [{
         key    = "antalya"
         value  = "nvme-swarm"
         effect = "NO_SCHEDULE"
      }]
      labels        = {
         "aws.amazon.com/eks-local-ssd" = "true"
      }
      tags = {
        "k8s.io/cluster-autoscaler/node-template/label/aws.amazon.com/eks-local-ssd" = "true"
      }
    },

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