Skip to content

Commit 46d42d6

Browse files
[agent-controll] gke autopilot requires limits and requests (#1640)
#### Is this a new chart no #### What this PR does / why we need it: Removes an annoying warning when installing the solution on GKE autopilot #### Checklist [Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.] - [x] Chart Version bumped - [x] Variables are documented in the README.md - [x] Title of the PR starts with chart name (e.g. `[mychartname]`)
1 parent 8b34720 commit 46d42d6

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

charts/agent-control/Chart.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ dependencies:
44
version: 2.14.1
55
- name: agent-control-deployment
66
repository: ""
7-
version: 0.0.42-beta
7+
version: 0.0.43-beta
88
- name: common-library
99
repository: https://helm-charts.newrelic.com
1010
version: 1.3.1
11-
digest: sha256:af3a56b5b32d661139441f50887c99a69ad3cf4c32e393b1cec71e38c257fcdf
12-
generated: "2025-02-27T12:26:06.411355+01:00"
11+
digest: sha256:c48931832ecebf5cf8572616cdb15580df0f0b1c11b008d4ec741a4f35dcc83c
12+
generated: "2025-03-05T16:37:35.732903+01:00"

charts/agent-control/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ name: agent-control
33
description: Bootstraps New Relic' Agent Control
44

55
type: application
6-
version: 0.0.52-beta
6+
version: 0.0.53-beta
77

88
dependencies:
99
- name: flux2
1010
repository: https://fluxcd-community.github.io/helm-charts
1111
version: 2.14.1
1212
condition: flux2.enabled
1313
- name: agent-control-deployment
14-
version: 0.0.42-beta
14+
version: 0.0.43-beta
1515
condition: agent-control-deployment.enabled
1616
# The following dependency is needed as sub-dependency of agent-control-deployment
1717
- name: common-library

charts/agent-control/charts/agent-control-deployment/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A Helm chart to install New Relic Agent Control on Kubernetes
44

55
type: application
66

7-
version: 0.0.42-beta
7+
version: 0.0.43-beta
88

99
keywords:
1010
- newrelic

charts/agent-control/charts/agent-control-deployment/templates/preinstall-job-register-system-identity.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ spec:
6767
- name: register-system-identity
6868
image: "{{ (.Values.systemIdentityRegistration.image).repository | default "newrelic/agent-control-system-identity-registration" }}:{{ (.Values.systemIdentityRegistration.image).tag | default "latest" }}"
6969
imagePullPolicy: {{ .Values.systemIdentityRegistration.image.pullPolicy }}
70+
resources:
71+
limits:
72+
cpu: 100m
73+
memory: 128Mi
74+
requests:
75+
cpu: 50m
76+
memory: 64Mi
7077
env:
7178
{{- if or (include "newrelic.common.userKey._customSecretName" .) (include "newrelic.common.userKey._userKey" .) }}
7279
- name: USER_KEY

charts/agent-control/charts/agent-control-deployment/templates/uninstall-job.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ spec:
2727
containers:
2828
- name: delete-managed-resources
2929
image: bitnami/kubectl # TODO: Pin version to the latest that we support.
30+
resources:
31+
limits:
32+
cpu: 100m
33+
memory: 128Mi
34+
requests:
35+
cpu: 50m
36+
memory: 64Mi
3037
command:
3138
- bash
3239
args:

0 commit comments

Comments
 (0)