-
Notifications
You must be signed in to change notification settings - Fork 905
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
chore(scripts/falco-driver-loader): improve curl resiliency #2336
Conversation
Fixes falcosecurity#2334 Signed-off-by: Furkan <furkan.turkal@trendyol.com>
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.
not a maintainer but LGTM
@developer-guy: changing LGTM is restricted to collaborators 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. |
Hi!
Fact is, this is an automatically configured script by the build process (cmake). BTW thank you very much for taking care of this! |
/milestone 0.34.0 |
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.
/approve
LGTM label has been added. Git tree hash: adb63e0bd474371f213d0a190288912ee803acb7
|
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.
/approve
/milestone 0.34.0
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Dentrax, developer-guy, FedeDP, jasondellaluce The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #2334
Signed-off-by: Furkan furkan.turkal@trendyol.com
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #2334
Special notes for your reviewer:
I used
--connect-timeout 5
,--retry 3
,--max-time 60
and--retry-max-time 120
: curl will retry transient errors up to3
times, each attempt is capped to60
second, total time allowed for retries is120
seconds and maximum time to allow for connecting is5
seconds. Otherwise, curl could sit for hours waiting for missing packets.Is there any test script to run some test
falco-driver-loader
script? I tried to test manually but somehow couldn't run the script:It seems environments couldn't set correctly:
Running falco-driver-loader for: falco version=@FALCO_VERSION@
. Can you please help me on this if it works?Does this PR introduce a user-facing change?: