You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/10/08 00:25:51 UTC

[airflow-ci-infra] branch main updated (e5f2af4 -> c2de1b6)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git


 discard e5f2af4  Bump version of ami
 discard f5c9a6b  Added liberal TCP kernel configuration
     new c2de1b6  Added liberal TCP kernel configuration

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (e5f2af4)
            \
             N -- N -- N   refs/heads/main (c2de1b6)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 github-runner-ami/packer/ubuntu2004.pkr.hcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[airflow-ci-infra] 01/01: Added liberal TCP kernel configuration

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git

commit c2de1b6ab87bf7df0d9af26516fb8ac73a763c71
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Fri Oct 7 19:21:37 2022 -0500

    Added liberal TCP kernel configuration
    
    This is needed to  avoid "connection reset by peer" when k8s cluster
    is under heavy load (see
    https://technology.lastminute.com/chasing-k8s-connection-reset-issue/)
---
 .../files/{increase_inotify_resources.sh => configure_kernel.sh}      | 1 +
 github-runner-ami/packer/ubuntu2004.pkr.hcl                           | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/github-runner-ami/packer/files/increase_inotify_resources.sh b/github-runner-ami/packer/files/configure_kernel.sh
similarity index 95%
rename from github-runner-ami/packer/files/increase_inotify_resources.sh
rename to github-runner-ami/packer/files/configure_kernel.sh
index ae97a8b..5fb2855 100644
--- a/github-runner-ami/packer/files/increase_inotify_resources.sh
+++ b/github-runner-ami/packer/files/configure_kernel.sh
@@ -18,4 +18,5 @@
 cat >>/etc/sysctl.conf <<EOF
 fs.inotify.max_user_watches = 524288
 fs.inotify.max_user_instances = 512
+net.netfilter.nf_conntrack_tcp_be_liberal = 1
 EOF
diff --git a/github-runner-ami/packer/ubuntu2004.pkr.hcl b/github-runner-ami/packer/ubuntu2004.pkr.hcl
index 10cd115..f92625a 100644
--- a/github-runner-ami/packer/ubuntu2004.pkr.hcl
+++ b/github-runner-ami/packer/ubuntu2004.pkr.hcl
@@ -38,7 +38,7 @@ source "amazon-ebs" "runner_builder" {
   #access_key = ""
   #secret_key = ""
   region = var.aws_regions[0]
-  ami_name = "${var.ami_name}-${var.runner_version}-v13"
+  ami_name = "${var.ami_name}-${var.runner_version}-v14"
   ami_regions = var.aws_regions
   tag {
     key   = "Name"
@@ -146,7 +146,7 @@ build {
       "./files/install-nodejs.sh",
       "./files/install-github-cli.sh",
       "./files/docker-compose.sh",
-      "./files/increase_inotify_resources.sh",
+      "./files/configure_kernel.sh",
       "./files/git.sh",
       "./files/runner_bootstrap.sh",
       "./files/create-hostedtools-cache.sh",