-
Notifications
You must be signed in to change notification settings - Fork 3.4k
daemon: Add command line option --tofqdns-idle-connection-grace-period #15458
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
Conversation
3b2e9e5
to
69bc148
Compare
test-me-please |
69bc148
to
211bbe0
Compare
Had to make the default non-zero to have the command reference show the default value, so made it "60s", which prints in command reference as "1m0s". |
test-me-please |
test-me-please |
test-docs-please |
Four design considerations:
|
Different DNS queries may have different expiry times. Keep that latest/furthest expiry time instead of blindly overwriting the old time with a new one when updating an existing entry. This makes the combined expiry time of the zombie entry not depend on the order in which the queries were processed. Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
c3b1c3a
to
1a978fc
Compare
test-me-please |
Changed the default of the new option to 0s. |
@jrajahalme I believe a rebase will fix the failing tests. It's currently failing because Jenkins is executing the new test code with the old agent code (can be seen by looking at the flag, the new flags are missing from the agent logs). EDIT: Nevermind, you just did rebase :-) They likely will pass now. |
Known flake #13071 on test-1.20-4.9 |
test-1.20-4.9 |
Looks like a test flake on ConformanceKind1.19 / installation-and-connectivity: https://github.com/cilium/cilium/pull/15458/checks?check_run_id=2197348595 |
Add Cilium daemon option
--tofqdns-idle-connection-grace-period
to allow previously active connections to keep a DNS name/IP mapping alive for future connections for a user-defined duration (default 0s).Keep latest expiry time for DNS Zombie entries that result from multiple DNS results.
Add the domain names to the DNS GC info-level log message.