question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Modify argument of the *beat* container

See original GitHub issue

Describe the feature:

Base on Filebeat chart, arguments of the filebeat container are hardcoded into the chart. It could be useful to be able to custom those arguments to modify the filebeat behaviour.

Example:

values.yml

daemonset:
  args:
  - "-e"
  - "-E"
  - "http.enabled=true"
  - "-c /other/path/filebeat.yml"

Describe a specific use case for the feature:

This would be useful when you use a sidecar or an initcontainer to forge the configuration file (with consul-template for example). The configuration file need to be mounted through a shared volume, and can’t be mounted to /usr/share/filebeat/filebeat.yml (because the mount already exist for the original filebeat.yml).

Providing custom arguments to the filebeat provide us the way to feed him with a different configuration file.

Draft on my repo: https://github.com/oyoyo14/helm-charts/tree/filebeat-access-to-cmd-args

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jmlrtcommented, Mar 3, 2021

I can make a PR from my repo if you want 😃

Thanks for the proposal, I think we’ll need to investigate a bit before creating a PR for that.

0reactions
botelastic[bot]commented, Jan 26, 2022

This issue has been automatically closed because it has not had recent activity since being marked as stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can a function modify some arguments as perceived by ...
Any time you see varname.foo() you're calling a method on varname . The method may alter varname (e.g. list.append ). varname ...
Read more >
Dockerfile reference - Docker Documentation
The VOLUME instruction creates a mount point with the specified name and marks it as holding externally mounted volumes from native host or...
Read more >
Score - Strasheela
{New <Class> init(<Arguments>)} is the constructor method for the class ... [abstract class] An item is a generalization of score containers and elements....
Read more >
Argument list too long - echo in container - Unix Stack Exchange
Is there any way to increase the size using the init script? as I don't have access to modify the Ruby application. docker...
Read more >
How do I append container arguments? #3265 - GitHub
I have an existing deployment and I want to edit one of the container's arguments and append an item. By default arguments are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found