Skip to content

Commit

Permalink
feat: Add recommended security group rule for port 10251 to match E…
Browse files Browse the repository at this point in the history
…KS addon for `metrics-server` (#3562)

* add current metrics-server default port 10251 to the recommended security group rules, add TODO note to remove the metrics-server legacy port 4443 on the next breaking change

* Update node_groups.tf

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
  • Loading branch information
2 people authored and GitHub committed Oct 27, 2025
1 parent 96dbaa0 commit de8c550
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion node_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit de8c550

Please sign in to comment.