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

Change default of [kubernetes] enable_tcp_keepalive to True #15338

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

jedcunningham
Copy link
Member

@jedcunningham jedcunningham commented Apr 12, 2021

We've seen instances of connection resets happening, particularly in
Azure, that are remedied by enabling tcp_keepalive. Enabling it by
default should be safe and sane regardless of where we are running.

Related: #14261 (comment)

cc: @michalmisiewicz

@boring-cyborg boring-cyborg bot added the provider:cncf-kubernetes Kubernetes provider related issues label Apr 12, 2021
@kaxil kaxil added this to the Airflow 2.0.2 milestone Apr 12, 2021
@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Apr 12, 2021
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

We've seen instances of connection resets happening, particularly in
Azure, that are remedied by enabling tcp_keepalive. Enabling it by
default should be safe and sane regardless of where we are running.
@dimberman dimberman merged commit 6e31465 into apache:master Apr 13, 2021
@dimberman dimberman deleted the k8s_keepalive branch April 13, 2021 14:24
ashb pushed a commit that referenced this pull request Apr 15, 2021
We've seen instances of connection resets happening, particularly in
Azure, that are remedied by enabling tcp_keepalive. Enabling it by
default should be safe and sane regardless of where we are running.

(cherry picked from commit 6e31465)
kaxil pushed a commit to astronomer/airflow that referenced this pull request Apr 19, 2021
…he#15338)

We've seen instances of connection resets happening, particularly in
Azure, that are remedied by enabling tcp_keepalive. Enabling it by
default should be safe and sane regardless of where we are running.

(cherry picked from commit 6e31465)
(cherry picked from commit 17fd314)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants