In order to upgrade the Kubernetes integration from version 2 (included in nri-bundle
chart versions 3.x), we strongly encourage you to create a values-newrelic.yaml
file with your desired and configuration. If you had previously installed our chart from the CLI directly, such as this command:
bash
$helm install newrelic/nri-bundle \> --set global.licenseKey=<New Relic License key> \> --set global.cluster=<Cluster name> \> --set infrastructure.enabled=true \> --set prometheus.enabled=true \> --set webhook.enabled=true \> --set ksm.enabled=true \> --set kubeEvents.enabled=true \> --set logging.enabled=true
You can take the provided --set
arguments and put them in a yaml
file like the following:
# values-newrelic.yamlglobal: licenseKey: <New Relic License key> cluster: <Cluster name>infrastructure: enabled: trueprometheus: enabled: truewebhook: enabled: trueksm: enabled: truekubeEvents: enabled: truelogging: enabled: true
After doing this, and adapting any other setting you might have changed according to the migration guide, upgrade your nri-bundle
by running this command:
bash
$helm upgrade newrelic newrelic/nri-bundle \> --namespace newrelic --create-namespace \> -f values-newrelic.yaml
Important
The --reuse-values
flag is not supported if you upgrade from v2 to v3.