Skip to content

Commit 1e9b70c

Browse files
authored
Add ingress rule in nodes Security Group to allow access to the Kubelet API when using ENI mode (#1020)
1 parent 5cfb608 commit 1e9b70c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Add ingress rule in nodes Security Group to allow access to the Kubelet API when using ENI mode. This is needed by the metrics server to gather metrics from the Kubelet
13+
1014
## [2.6.0] - 2025-01-23
1115

1216
### Changed

helm/cluster-aws/templates/_aws_cluster.tpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ spec:
6969
fromPort: -1
7070
toPort: -1
7171

72+
# We could also use `sourceSecurityGroupIds` here, but the ID of the "<cluster>-pods" security group isn't known yet
73+
cidrBlocks: {{ required "global.connectivity.network.pods.cidrBlocks is required" .Values.global.connectivity.network.pods.cidrBlocks | toYaml | nindent 10 }}
74+
additionalNodeIngressRules:
75+
- description: "Allow traffic from Pods to the Kubelet API running on the nodes"
76+
protocol: "tcp"
77+
fromPort: 10250
78+
toPort: 10250
79+
7280
# We could also use `sourceSecurityGroupIds` here, but the ID of the "<cluster>-pods" security group isn't known yet
7381
cidrBlocks: {{ required "global.connectivity.network.pods.cidrBlocks is required" .Values.global.connectivity.network.pods.cidrBlocks | toYaml | nindent 10 }}
7482
{{- end }}

0 commit comments

Comments
 (0)