feat: Add autoscaling_group_tags variable to self-managed-node-groups (#2084)

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
Gabriel Féron
2022-06-02 14:26:49 +02:00
committed by GitHub
parent 8178010326
commit 8584dcb2e0
5 changed files with 26 additions and 2 deletions

View File

@@ -97,6 +97,12 @@ module "eks" {
self_managed_node_group_defaults = {
create_security_group = false
# enable discovery of autoscaling groups by cluster-autoscaler
autoscaling_group_tags = {
"k8s.io/cluster-autoscaler/enabled" : true,
"k8s.io/cluster-autoscaler/${local.name}" : "owned",
}
}
self_managed_node_groups = {