Skip to content

Commit

Permalink
make metrics-server work
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Oct 10, 2025
1 parent b750feb commit 219d228
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions additional_sg_rules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,13 @@ locals {
to_port = 9443
type = "ingress"
}
ingress_metrics_server = {
description = "Metrics server"
from_port = 10251
protocol = "tcp"
source_cluster_security_group = true
to_port = 10251
type = "ingress"
}
}
}
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ module "cluster" {
# kube-state-metrics = {
# most_recent = true
# }
# metrics-server = {
# most_recent = true
# }
metrics-server = {
most_recent = true
}
snapshot-controller = {
most_recent = true
}
Expand Down

0 comments on commit 219d228

Please sign in to comment.