Skip to content

Commit

Permalink
Merge pull request #1150 from newrelic/add-eapm
Browse files Browse the repository at this point in the history
fix(kubernetes): Adding eAPM config
  • Loading branch information
shashank-reddy-nr authored Jan 22, 2025
2 parents cbc589d + 6dd111c commit 5ae5c66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/newrelic/infrastructure/kubernetes.yml
Original file line number Diff line number Diff line change
@@ -80,6 +80,7 @@ install:
NR_CLI_LOGGING="{{.NR_CLI_LOGGING}}"
NR_CLI_LOGGING_LOW_DATA_MODE="{{.NR_CLI_LOGGING_LOW_DATA_MODE}}"
NR_CLI_AGENT_OPERATOR="{{.NR_CLI_AGENT_OPERATOR}}"
NR_CLI_EAPM_AGENT="{{.NR_CLI_EAPM_AGENT}}"
# Prometheus integrations
@@ -277,6 +278,7 @@ install:
NR_CLI_LOGGING_PERSISTENCE_STORAGE_CLASS=${NR_CLI_LOGGING_PERSISTENCE_STORAGE_CLASS:-""}
NR_CLI_LOGGING_LINUX_MOUNT_PATH=${NR_CLI_LOGGING_LINUX_MOUNT_PATH:-""}
NR_CLI_AGENT_OPERATOR=${NR_CLI_AGENT_OPERATOR:-false}
NR_CLI_EAPM_AGENT=${NR_CLI_EAPM_AGENT:-false}
# Prometheus integrations
@@ -579,6 +581,7 @@ install:
fi
ARGS="${ARGS} --set ksm.enabled=${NR_CLI_KSM}"
ARGS="${ARGS} --set k8s-agents-operator.enabled=${NR_CLI_AGENT_OPERATOR}"
ARGS="${ARGS} --set newrelic-eapm-agent.enabled=${NR_CLI_EAPM_AGENT}"
# if installing in GKE Autopilot, we need to turn off controlPlane and pixie and set kubelet scheme and port
if [[ "{{.NR_CLI_GKE_AUTOPILOT}}" == "true" ]]; then
@@ -695,6 +698,7 @@ install:
BODY="${BODY},\"global.lowDataMode\":\"${NR_CLI_LOW_DATA_MODE}\""
BODY="${BODY},\"ksm.enabled\":\"${NR_CLI_KSM}\""
BODY="${BODY},\"k8s-agents-operator.enabled\":\"${NR_CLI_AGENT_OPERATOR}\""
BODY="${BODY},\"newrelic-eapm-agent.enabled\":\"${NR_CLI_EAPM_AGENT}\""
# if installing in GKE Autopilot, turn off controlPlane and set kubelet scheme and port
if [[ "{{.NR_CLI_GKE_AUTOPILOT}}" == "true" ]]; then

0 comments on commit 5ae5c66

Please sign in to comment.