Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splitting the kubelet containers resource values #1139

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/newrelic-infrastructure/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
17 changes: 12 additions & 5 deletions charts/newrelic-infrastructure/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down