diff --git a/node_groups.tf b/node_groups.tf index 5a1655613e..f43a3e325d 100644 --- a/node_groups.tf +++ b/node_groups.tf @@ -117,7 +117,7 @@ locals { type = "ingress" self = true } - # metrics-server + # metrics-server, legacy port - TODO: remove this on the next breaking change at v22 ingress_cluster_4443_webhook = { description = "Cluster API to node 4443/tcp webhook" protocol = "tcp" @@ -126,6 +126,15 @@ locals { type = "ingress" source_cluster_security_group = true } + # metrics-server, current EKS default port + ingress_cluster_10251_webhook = { + description = "Cluster API to node 10251/tcp webhook" + protocol = "tcp" + from_port = 10251 + to_port = 10251 + type = "ingress" + source_cluster_security_group = true + } # prometheus-adapter ingress_cluster_6443_webhook = { description = "Cluster API to node 6443/tcp webhook"