'Not able to install New Relic’s Kubernetes integration (kubernetes-open-source-integration)
everyone I am trying to get the New Relic Kubernetes integration installed in my Amazon EKS cluster. For that I am following the prompts displayed in the Kubernetes cluster Explorer: Auto-discovery section. At some point I get prompted to execute the following command :
curl -Ls https://download.newrelic.com/install/newrelic-cli/scripts/install.sh | bash && NR_CLI_CLUSTERNAME=<cluster-name> NR_CLI_NAMESPACE=newrelic NR_CLI_PRIVILEGED=true NR_CLI_LOW_DATA_MODE=true NR_CLI_KSM=true NR_CLI_KUBE_EVENTS=true NR_CLI_PROMETHEUS=true NR_CLI_LOGGING=true NEW_RELIC_API_KEY=<api-key-value> NEW_RELIC_ACCOUNT_ID=<account-id-value> /usr/local/bin/newrelic install -n kubernetes-open-source-integration
That being said I noticed that the newrelic cli gets installed but the terminal prompt just hangs there on the newrelic install -n kubernetes-open-source-integration part of the command and it never does anything it just hangs. When I am tired of waiting (after 30 minutes or so) I do a ctrl+c and I get the following message ^CFATAL could not fetch license key for account <account-id>: context canceled
How can I get this kubernetes-open-source-integration properly installed in my Amazon EKS cluster ? What am I doing wrong ? Any help is welcomed.
Note: I have replaced the actual value of my cluster name, api key and account id in this issue description with respectively <cluster-name>, <api-key-value> and <account-id-value>.
Thanks in advance.
Solution 1:[1]
In the end I was not successful in getting the newrelic cli to install the kubernetes-open-source-integration but following Install Kubernetes integration with Helm instructions I seem to have been able the install the Kubernetes New Relic integration using Helm on it’s own. Might help others in my situation regarding the newrelic cli malfunction.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | nabello |
