From user-return-12937-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Mon Sep 14 15:21:10 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 5AF46180636 for ; Mon, 14 Sep 2020 17:21:10 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id F16A5122643 for ; Mon, 14 Sep 2020 15:21:08 +0000 (UTC) Received: (qmail 60599 invoked by uid 500); 14 Sep 2020 15:21:08 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 60587 invoked by uid 99); 14 Sep 2020 15:21:07 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2020 15:21:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id 0B3271FF42E for ; Mon, 14 Sep 2020 15:21:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamproc1-he-de.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id B3HaE8B2PZmT for ; Mon, 14 Sep 2020 15:21:06 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.161.42; helo=mail-oo1-f42.google.com; envelope-from=eolivelli@gmail.com; receiver= Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 1096EBC322 for ; Mon, 14 Sep 2020 15:21:06 +0000 (UTC) Received: by mail-oo1-f42.google.com with SMTP id s17so4108712ooe.6 for ; Mon, 14 Sep 2020 08:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I6jj6xAx5Zsv+u7Zwr04CHHpZCVL2Bc7/G4JPnFRykQ=; b=QXlAh1+dJTErx+Fyb6U713VjpCrbKVccmXFgD0RX/vXhRQ7RWfGysOXbfshVGm5HJE fwAFmHsg9pte/A978fimi9db817wuGxTWxzigfzCRIDpq/yOumpZG9wpFlb3FjQyGBKx 6lcdM/Yw8Nnt0zC5QJLGed1jCdAxK33wjiU4DGCmk/3OzcRo9dERJqzpyzDeQxDc329Q YN2PQfILoeWYXRy951vCphYqrjVNijWRm6sJYUvZ8JEMriBS1CLZ0FGycHchR2X7ah1T CW27eclhvhZosRN94pC0DP5NubQpmg3E5u57kmDyQA2J+1WSOhPNJ76kEKsdwotOP/ZM /NgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I6jj6xAx5Zsv+u7Zwr04CHHpZCVL2Bc7/G4JPnFRykQ=; b=YWXnpDSsoT7xvtPabl2AAEFr3eQ0u56G3z2lB9bQTuDAemp56U5IwrTtL4CPVm1A6g EZ6qEf5FV2e74lR8Ma1vWCkEYPSON2NtoxDnps8xd7tkPzR08s+FV8/34rK++oKK0wyQ TAw/SdEUAN+Rjkq4yaTQAa4/BxL2n9tYqoYic9cLgszuWppT2gtx8DEnHqQBA5KnjMc4 kBQ/GpiKL7e/WxbMUGyTehRweeqnLEkJPX1y6GVuyG8ByZSnszzpj1xReuJIvdAKXan4 Rk5orveiXwgmplsQCssn9wqhYAUDxHXpTsq4wtztqFKUWZr96jzG2NzjCezhG/VyzaGR +9NA== X-Gm-Message-State: AOAM532iCvH+gMqe6yo6Rk86EghuBVwOGH4KgePsb4HWHGjcXAusuc9I 3RfKl+SZGXLmVV1e9zM8Ms8O2T0niX8fEQG+1l3ekRg0 X-Google-Smtp-Source: ABdhPJz9ZDMGGyf08Nfskygsul/DisdYmPbmTTTd1E0vLlaAICmkegUFWakyeWUZJiUQskohCmla2g3FFRh92Kn12ts= X-Received: by 2002:a4a:2c02:: with SMTP id o2mr10452349ooo.24.1600096858665; Mon, 14 Sep 2020 08:20:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Enrico Olivelli Date: Mon, 14 Sep 2020 17:20:47 +0200 Message-ID: Subject: Re: Zookeeper on Kubernetes and Presistent Volumes To: UserZooKeeper Cc: Stephane Galles Content-Type: multipart/alternative; boundary="000000000000ddf60305af47949f" --000000000000ddf60305af47949f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Remi, sorry for the late reply. Your cluster would be able to work if and only if at least X/2 + 1 servers are up and running and properly connected to the other peers. any server that is restarted will rejoin from scratch. It is very dangerous ! you won't be able to recover and probably it will be very hard to understand what happened (you are going to lose all of your tx logs) I don't have experience with Kubernetes and non persistent volumes but as far as I know it is not supposed to work Enrico Il giorno ven 11 set 2020 alle ore 14:21 Remi Serrano ha scritto: > Hello mailing list, > > We are assessing running Zookeeper in Kubernetes. There are a bunch of > examples around and they all use Kubernetes Persistent Volumes. > For some underlying technical reasons, we would like to avoid the use of > Kubernetes Persistent Volumes. > What is the risk to setup a ZK cluster on Kubernetes without persistent > volume ? > Sub-question, what happen if a ZK node without persistent get killed and > rebooted by Kubernetes (ie: without any data) ? > > Thanks for your help > > R=C3=A9mi > > --000000000000ddf60305af47949f--