diff --git a/CHANGELOG.md b/CHANGELOG.md index 02e55e80..e7188b29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- 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 + ## [1.3.6] - 2025-01-27 ### Changed diff --git a/helm/cluster-aws/templates/_aws_cluster.tpl b/helm/cluster-aws/templates/_aws_cluster.tpl index c4d54d39..e9a399d5 100644 --- a/helm/cluster-aws/templates/_aws_cluster.tpl +++ b/helm/cluster-aws/templates/_aws_cluster.tpl @@ -69,6 +69,14 @@ spec: fromPort: -1 toPort: -1 + # We could also use `sourceSecurityGroupIds` here, but the ID of the "-pods" security group isn't known yet + cidrBlocks: {{ required "global.connectivity.network.pods.cidrBlocks is required" .Values.global.connectivity.network.pods.cidrBlocks | toYaml | nindent 10 }} + additionalNodeIngressRules: + - description: "Allow traffic from Pods to the Kubelet API running on the nodes" + protocol: "tcp" + fromPort: 10250 + toPort: 10250 + # We could also use `sourceSecurityGroupIds` here, but the ID of the "-pods" security group isn't known yet cidrBlocks: {{ required "global.connectivity.network.pods.cidrBlocks is required" .Values.global.connectivity.network.pods.cidrBlocks | toYaml | nindent 10 }} {{- end }}