-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[newrelic-logging] crashes on install if cluster name is not set #899
Comments
Hi @maxlemieux, The expected behavior we have in other charts is to fail in case You can use the common library to have the same behavior as we have with the rest of the charts (common-library docs) like we have in |
Thanks @kang-makes for the clarification. In that case, would it be reasonable for me to file a pull request to update the docs to include the |
I am trying to find the documentation you are talking about but I am not able to find it. The thing here is that this is still a bug. In case On the other hand, any extra documentation is always welcome. But I cannot talk for the logging team, only for the |
The docs with the suggested install command for Helm are here. Adding one of the cluster name settings to this command could be a workaround for now: |
Bug description
When installing the
newrelic-logging
chart as a standalone chart, the pods crash if the cluster name is not set.Version of Helm and Kubernetes
Helm 3, Kubernetes 1.24.1
Which chart?
newrelic-logging 1.11.2
What happened?
Container goes into crashLoopBackOff with these logs:
This error points to this area of config: https://github.com/newrelic/helm-charts/blob/master/charts/newrelic-logging/values.yaml#L102
What you expected to happen?
Expected container to start successfully.
How to reproduce it?
Following the current directions in the README will reproduce the issue:
Anything else we need to know?
Workaround: set cluster name, as:
This results in a successful installation.
This issue may have been overlooked since the chart bundle typically has the cluster name set during guided installation.
The text was updated successfully, but these errors were encountered: