-
Notifications
You must be signed in to change notification settings - Fork 294
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
wip: update daemonset.yaml (--disable-cri-async) #15
Conversation
Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits. 📝 Please follow instructions in the contributing guide to update your commits with the DCO Full details of the Developer Certificate of Origin can be found at developercertificate.org. The list of commits missing DCO signoff:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -57,6 +57,7 @@ spec: | |||
- --cri | |||
- /run/containerd/containerd.sock | |||
{{- end }} | |||
- --disable-cri-async # @kris-nova default to sync falco mode to eliminate syscall drops |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of hard-coding it here, would it be more appropriate to let the user set this flag via Values.extraArgs
(on line 66)? Seems like the change here should be a documentation change that informs the user about the flag rather than a hard-coded value.
More context here 👉 falcosecurity/falco#925 |
@kris-nova Can you look in on this when you get a second? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @kris-nova
I agree with @victortrac about using extraArgs
.
Furthermore, since that flag can have a performance penalty:
--disable-cri-async Disable asynchronous CRI metadata fetching.
This is useful to let the input event wait for the container metadata fetch
to finish before moving forward. Async fetching, in some environments leads
to empty fields for container metadata when the fetch is not fast enough to be
completed asynchronously. This can have a performance penalty on your environment
depending on the number of containers and the frequency at which they are created/started/stopped
I would NOT put it on by default.
Thus I believe the issue here is mostly the documentation.
So, can we rework this PR?
I will put wip:
in the title to avoid that this PR gets merged when not yet ready.
Since we have charts/falco/templates/daemonset.yaml Lines 65 to 67 in 1769c50
/close If you think we still need further improvement, feel free to re-open this again! |
@leogr: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
No description provided.