Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Kubernetes log file


#1

hi team,

What is the default location of the kubernetes agent logs.
How can we change the default location

Also, is it required to be installed on all the servers?

Regards
Roopam


#2

Hi @roopam.dhawan

The logs in our Kubernetes integration are sent to stdout and can be accessed through the standard kubectl logs newrelic-infra-xxxxx where xxxxx is the identifier of our pod running on that particular node. You will have one newrelic-infra-xxxxx pod in each node.
To determine the correct name of the pod have a look at the steps described on this link.

Our Kubernetes integration is deployed as a daemon set so it will automatically create a pod in each node of your cluster. Each of our pods will monitor and collect metrics for all running pods within that node.