diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f40d942f7..f7ba42e93e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +## v3.33.0 - 2024-11-20 + +### 🚀 Enhancements + +- Updating the kubelet daemonset to allow consumers to specify different resource limits for each container in the pod. + +### 🚀 Enhancements ## v3.32.0 - 2024-11-18 ### 🚀 Enhancements diff --git a/charts/newrelic-infrastructure/Chart.yaml b/charts/newrelic-infrastructure/Chart.yaml index c4e7e24a20..764bfed0cd 100644 --- a/charts/newrelic-infrastructure/Chart.yaml +++ b/charts/newrelic-infrastructure/Chart.yaml @@ -8,7 +8,7 @@ sources: - https://github.com/newrelic/nri-kubernetes/tree/main/charts/newrelic-infrastructure - https://github.com/newrelic/infrastructure-agent/ version: 3.37.0 -appVersion: 3.32.0 +appVersion: 3.33.0 dependencies: - name: common-library version: 1.3.0 diff --git a/charts/newrelic-infrastructure/templates/kubelet/daemonset.yaml b/charts/newrelic-infrastructure/templates/kubelet/daemonset.yaml index 517079be76..705c8e1235 100644 --- a/charts/newrelic-infrastructure/templates/kubelet/daemonset.yaml +++ b/charts/newrelic-infrastructure/templates/kubelet/daemonset.yaml @@ -99,7 +99,7 @@ spec: {{- with .Values.kubelet.extraVolumeMounts }} {{- toYaml . | nindent 12 }} {{- end }} - {{- with .Values.kubelet.resources }} + {{- with .Values.kubelet.resources.kubelet }} resources: {{ toYaml . | nindent 12 }} {{- end }} - name: agent @@ -204,7 +204,7 @@ spec: {{- with .Values.kubelet.extraVolumeMounts }} {{- toYaml . | nindent 12 }} {{- end }} - {{- with .Values.kubelet.resources }} + {{- with .Values.kubelet.resources.agent }} resources: {{ toYaml . | nindent 12 }} {{- end }} volumes: diff --git a/charts/newrelic-infrastructure/values.yaml b/charts/newrelic-infrastructure/values.yaml index 89b90104b0..38c7a9477c 100644 --- a/charts/newrelic-infrastructure/values.yaml +++ b/charts/newrelic-infrastructure/values.yaml @@ -116,11 +116,18 @@ kubelet: extraVolumeMounts: [] initContainers: [] resources: - limits: - memory: 300M - requests: - cpu: 100m - memory: 150M + kubelet: + limits: + memory: 300M + requests: + cpu: 100m + memory: 150M + agent: + limits: + memory: 300M + requests: + cpu: 100m + memory: 150M config: # -- Timeout for the kubelet APIs contacted by the integration timeout: 10s