newrelic/nri-bundle

Chart version: 1.11.3
Api version: v1
App version: 1.0
A Helm chart to deploy New Relic integrations bundled together
application
Chart Type
Active
Status
Unknown
License
2266
Downloads
https://helm-charts.newrelic.com
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install nri-bundle center/newrelic/nri-bundle
Versions (0)

nri-bundle

Chart Details

This chart bundles multiple New Relic products helm-charts.

Configuration

Parameter Description Default
global.cluster The cluster name for the Kubernetes cluster.
global.licenseKey The license key for your New Relic Account. This will be preferred configuration option if both licenseKey and customSecret are specified.
global.insightsKey The license key for your New Relic Account. This will be preferred configuration option if both insightsKey and customSecret are specified.
global.customSecretName Name of the Secret object where the license key is stored
global.customSecretLicenseKey Key in the Secret object where the license key is stored.
global.customSecretInsightsKey Key in the Secret object where the insights key is stored.
infrastructure.enabled Install the newrelic-infrastructure chart true
prometheus.enabled Install the nri-prometheus chart false
webhook.enabled Install the nri-metadata-injection chart true
ksm.enabled Install the kube-state-metrics chart from the stable helm charts repository false
kubeEvents.enabled Install the nri-kube-events chart false
logging.enabled Install the newrelic-logging chart false

Configure Dependencies

It is possible to configure dependencies values from this chart.
For example you can configure verboseLog variable of the newrelic-infrastructure chart installed as a dependency as follows.

newrelic-infrastructure:
  verboseLog: false
$ helm upgrade --reuse-values -f values.yaml [RELEASE] [CHART]

The same approach can be followed to update any of the dependencies. Official documentation

Monitor on host integrations

If you wish to monitor services running on Kubernetes you can provide integrations configuration under integrations_config that it will passed down to the newrelic-infrastructure chart.

You just need to create a new entry where the “name” is the filename of the configuration file and the data is the content of the integration configuration. The name must end in “.yaml” as this will be the filename generated and the Infrastructure agent only looks for YAML files.

The data part is the actual integration configuration as described in the spec here: https://docs.newrelic.com/docs/integrations/integrations-sdk/file-specifications/integration-configuration-file-specifications-agent-v180

In the following example you can see how to monitor a Redis integration with autodiscovery

newrelic-infrastructure:
  integrations_config:
    - name: nri-redis.yaml
      data:
        discovery:
          command:
            # Run NRI Discovery for Kubernetes
            # https://github.com/newrelic/nri-discovery-kubernetes
            exec: /var/db/newrelic-infra/nri-discovery-kubernetes
            match:
              label.app: redis
        integrations:
          - name: nri-redis
            env:
              # using the discovered IP as the hostname address
              HOSTNAME: ${discovery.ip}
              PORT: 6379
            labels:
              env: test

Upgrade dependency version

Dependencies are managed using Helm Dependency. In order to update any of the dependency versions you should bump the version in requirements.yaml and run helm dependency update command to update chart packages under /charts and also the requirements.lock file

Example

Make sure you have added the New Relic chart repository.

Then, to install this chart, run the following command:

helm install newrelic/nri-bundle \
--set global.licenseKey=<enter_new_relic_license_key> \
--set global.cluster=my-k8s-cluster
--set infrastructure.enabled=true
--set prometheus.enabled=true
--set webhook.enabled=true
--set ksm.enabled=true
--set kubeEvents.enabled=true
--set logging.enabled=true