From dev-return-8774-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Wed Jun 26 16:20:19 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id BD6CC18064D for ; Wed, 26 Jun 2019 18:20:18 +0200 (CEST) Received: (qmail 86283 invoked by uid 500); 26 Jun 2019 16:20:17 -0000 Mailing-List: contact dev-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.apache.org Delivered-To: mailing list dev@airflow.apache.org Received: (qmail 86267 invoked by uid 99); 26 Jun 2019 16:20:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2019 16:20:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 15C721A3415 for ; Wed, 26 Jun 2019 16:20:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.004 X-Spam-Level: ** X-Spam-Status: No, score=2.004 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rywalker-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 5pgTztmQxUZ9 for ; Wed, 26 Jun 2019 16:20:14 +0000 (UTC) Received: from mail-yw1-f43.google.com (mail-yw1-f43.google.com [209.85.161.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2D3B55FD5C for ; Wed, 26 Jun 2019 16:20:14 +0000 (UTC) Received: by mail-yw1-f43.google.com with SMTP id v15so1474281ywv.0 for ; Wed, 26 Jun 2019 09:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rywalker-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=z4kQawnUFE3t4wkZFEZ39WnYrYXK1OMye6Dl8hGPMmg=; b=SIrqkSAvFq/93eJwB584/KyY/bvUM+h7t/Wq9exZM3iqYl0TlFcGt7+OxgXy32jr9Y LP6+ICgf+fM5O/ASxPfyneoVs2fQvKOTfkvKwgwPZLD6epmVLgpZuq/w/jhNxpmO6mJx llBKmQLSfZFSStPp8d3yyicZ/gh3dNkNBtm1Cql9Q2//XbuiamCcyXWl+n7rcLjT9Eai LthHHhXdb8i2CS0jqomx29gV2G3V7WNvYXW/bTOI4aeWg6IuoFHjTLO9HfKE0fd2rO7B H8ikBkP0xlOL2p2IZl7GN0LOXRhWXVg86vjFCcwK+IepBJqX8A9Q05aoHlYE02Gt/+Me FWRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=z4kQawnUFE3t4wkZFEZ39WnYrYXK1OMye6Dl8hGPMmg=; b=KZOj/KO8gyD+dFZrTOZOtR76VK5u5X8m7G24JW2hxK4Vpp/euOSFKTpyR5vpUO3BMG hl16fM4q+287k8Eu7Oo3U/oQKVyjRJ0YxPEaqGRLzbJp/FJJ6U44dIse//rVXkoKPt2X xJ7TdAFfDbzPbXdqUVcnd80jKCRAeOfEGJCP42wDYLwpKgHzLk9zLor2b2ukM8UgaHoT BhKFAitXpELR9byP5YgETvYWz3j+L3lThC6acb7Ee6+TaS8ANV4X1dZn7CJg+oVTChCI 429TqWP9rawl2jijRTLcBVWjcdGLh12TakQXTfxe91cJkzMloRK+WNF28xXGjSbOlHyv Yy/A== X-Gm-Message-State: APjAAAWP9URVaoKLPt7ozgN8cTPugpcYHqEPy9uj/kbPO0VbW+DJ1soA kjCXyMoQNLF13OT97MMZBtpslMdoS/XGXhrMM+BdPKqmEjo= X-Google-Smtp-Source: APXvYqy9NQ/NdZWqYDjSTDOXZzBgMMQOU0zOwozHEgwaBBN7xqGXdt4mq8+YIqdEV3eViz0Pb3KqrSWsHXhZ6/y0fKc= X-Received: by 2002:a0d:d74f:: with SMTP id z76mr3227789ywd.40.1561566008168; Wed, 26 Jun 2019 09:20:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a81:b544:0:0:0:0:0 with HTTP; Wed, 26 Jun 2019 09:20:07 -0700 (PDT) X-Originating-IP: [8.46.75.2] In-Reply-To: References: From: Ry Walker Date: Wed, 26 Jun 2019 12:20:07 -0400 Message-ID: Subject: Re: Kubernetes executor production readiness? To: "dev@airflow.apache.org" Content-Type: multipart/alternative; boundary="00000000000035e7ed058c3c6bb0" --00000000000035e7ed058c3c6bb0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Once Daniel Imberman is back from his vacation, I do know he=E2=80=99s plan= ning to jump into that JIRA issue to see what is going on. -Ry On Wednesday, June 26, 2019, Austin Weaver wrote: > We attempted to migrate our existing production airflow (celery executor) > to k8 executor, and saw many issues scaling tasks ie. Couldn't run 100+ > tasks concurrently, as described here > https://issues.apache.org/jira/browse/AIRFLOW-4346 . > > Although there has not been much movement on the ticket, I am curious if > people haven't seen these issues running an airflow k8 executor deploymen= t > at scale? > > Thanks, > Austin > > On Wed, Jun 26, 2019 at 2:35 AM Ry Walker wrote: > > > If tasks are short, the k8s startup/shutdown time can be a negative > factor. > > > > The nice thing about k8s executor is that you can redeploy airflow > without > > the need to drain the system to ensure work won=E2=80=99t be affected. > > > > Also, going all k8s gives you autoscaling. > > > > If you=E2=80=99d like to try our both, you can install trial of Astrono= mer > > platform in your k8s - it lets you easily switch between executors. > > > > Sent via Superhuman iOS ( https://sprh.mn/?vip=3Dry@rywalker.com ) > > > > On Wed, Jun 26 2019 at 7:29 AM, < qph@scribd.com > wrote: > > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > We have made the decision to migrate all our existing ETL jobs to > > Airflow. > > > Right now, we are deciding whether celery or kubernetes executor woul= d > be > > > a better fit. > > > > > > > > > > > > Is anyone currently using kubernetes executor in production? If so, h= ow > > > well does it scale and how stable is it compared to celery executor? = We > > > are planning to run about 2000 tasks per day to start with. > > > > > > > > > > > > From what I have seen so far, with kubernetes executor, we will be ab= le > > to > > > restrict resource usage for each task run. Can anyone share some > insights > > > on what other advantages does celery executor provide over kubernetes > > > executor except maturity? > > > > > > > > > > > > Thanks, > > > QP > > > > > > > > > > > > > -- > Austin Weaver > Software Engineer > FLYR, Inc. www.flyrlabs.com > --=20 Sent from Gmail Mobile --00000000000035e7ed058c3c6bb0--