Skip to content
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

Outdated Kubernetes instructions #2213

Closed
juandspy opened this issue Nov 2, 2022 · 2 comments · Fixed by #2233
Closed

Outdated Kubernetes instructions #2213

juandspy opened this issue Nov 2, 2022 · 2 comments · Fixed by #2233
Labels
bug Something isn't working

Comments

@juandspy
Copy link

juandspy commented Nov 2, 2022

Summary

I tried deploying the Kubernetes version of the collector (this one) and it gives me the following error:

2022/11/02 11:31:48 settings.go:269: Set config to [/conf/otel-collector-config.yaml]
2022/11/02 11:31:48 settings.go:333: Set ballast to 168 MiB
2022/11/02 11:31:48 settings.go:349: Set memory limit to 460 MiB
Error: unknown flag: --mem-ballast-size-mib
2022/11/02 11:31:48 main.go:99: application run finished with error: unknown flag: --mem-ballast-size-mib

What do we have to do with that flag?

Related PRs: #567

How to reproduce

❯ docker run --rm -e SPLUNK_REALM=us1 -e SPLUNK_ACCESS_TOKEN=test quay.io/signalfx/splunk-otel-collector:0.62.0 /otelcol --mem-ballast-size-mib=168
2022/11/02 11:33:20 settings.go:286: Set config to /etc/otel/collector/gateway_config.yaml
2022/11/02 11:33:20 settings.go:333: Set ballast to 168 MiB
2022/11/02 11:33:20 settings.go:349: Set memory limit to 460 MiB
Error: unknown flag: --mem-ballast-size-mib
2022/11/02 11:33:20 main.go:99: application run finished with error: unknown flag: --mem-ballast-size-mib
@atoulme
Copy link
Contributor

atoulme commented Nov 2, 2022

Thank you for your report. We have since created a complete helm chart you might prefer to use to deploy the collector. Please see https://github.com/signalfx/splunk-otel-collector-chart.

We will look at updating or deleting this example.

@atoulme atoulme added the bug Something isn't working label Nov 2, 2022
@juandspy
Copy link
Author

juandspy commented Nov 2, 2022

@atoulme thanks. For me it was easier to use this template with a config map, service and deployment. It worked like a charm removing the --mem-ballast-size-mib flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants