From user-return-62500-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Sat Oct 13 13:04:11 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 05F0D180638 for ; Sat, 13 Oct 2018 13:04:10 +0200 (CEST) Received: (qmail 66198 invoked by uid 500); 13 Oct 2018 11:04:09 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 66186 invoked by uid 99); 13 Oct 2018 11:04:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Oct 2018 11:04:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 94E94180A5E for ; Sat, 13 Oct 2018 11:04:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.888 X-Spam-Level: * X-Spam-Status: No, score=1.888 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6xL8w4fB_A7P for ; Sat, 13 Oct 2018 11:04:07 +0000 (UTC) Received: from mail-it1-f170.google.com (mail-it1-f170.google.com [209.85.166.170]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4EDF45F125 for ; Sat, 13 Oct 2018 11:04:06 +0000 (UTC) Received: by mail-it1-f170.google.com with SMTP id i76-v6so21595642ita.3 for ; Sat, 13 Oct 2018 04:04: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; bh=XroCcNCH1qZlIp0BO+4wQrbx/jPxvjyf8L99fOjzAWQ=; b=St/jtB/X0FjrNFzdGavRTU77gzMI8ZFDUbSyuIJEhAuegjASSjvRzW5CRcstnkWCbx VOwy1cgIk5MZ/EJGm19LR2tZSp4mlYOjF/iPOG6rBHth2fqS2uJ1r5U3mZmjLnl3f474 w6Rbm0E6leNY2KDELtIpzXJa1kofz8YeDvgkJV0RGvTbfbbZ1fz262kplV+/LwN/hqUw Xwu/KOXnzr/E97ZKoDGuU9pkwGn19ledEpSFjVgkOWga+AxZPUbcByhHx9YC3Qwqcp4N Wjbu4yDFhhGeW9b65P6lcpV+pHa4Oe2mpFQAplLe2skNgLLO2dowsCojum6bXo7W2/Yf j8Tw== 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; bh=XroCcNCH1qZlIp0BO+4wQrbx/jPxvjyf8L99fOjzAWQ=; b=AVFgsQy8effqEUo79idi0nf0+v9gw9edsMca8PUuJ7Wfx++V2EyW4CuAsnenspccfx 71UBdf2tg81LINgKulTIJdzjSA2RS+XuuALH/gFra0M6J9VqTgA+d2mGByB5/FHgAXAB SG9l4b9/U7gztuF/qYHXQZv/ZrKwepzeQgnuyRtc/hafk+0j6cse7TdcKITaTkqYQDBs 44K+6rDVL01e4C97gN7wJyXlqPSFYEiTKRHq1hiw/65JYU+FWPEhtI4res/7U0utZpYd 848/ZzGSDK5Ab/NR4SWk0Aks3e46k9oT4eu2Q1Q6s8B5M/jZ9a9FBymQMM6FOvCbeyUc uBiA== X-Gm-Message-State: ABuFfogOHcYhExmBSxzk+TgdPQPdf0XHBKCqD46lDg9W7USUoyKIa7CZ nHtVvrbJSXwrdJIYMuHL0ZV/8uX9/+O651UsDd+ADg== X-Google-Smtp-Source: ACcGV63mD9hDxNat4e5uw6KielHePv1VvtdlVgVBj6sWBR4cpOEl1iqQ/JWlqeKdPvK/S18neLojApO1eTUqFPkaiiA= X-Received: by 2002:a02:38c:: with SMTP id e12-v6mr7603633jae.71.1539428644641; Sat, 13 Oct 2018 04:04:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Goutham reddy Date: Sat, 13 Oct 2018 04:03:54 -0700 Message-ID: Subject: Re: Advantage over Cassandra in Kubernetes To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="000000000000855eb805781a29a6" --000000000000855eb805781a29a6 Content-Type: text/plain; charset="UTF-8" Thanks Ben for the detailed insight. Btw we are planning to set up Kubernetes Cassandra cluster in Development. We wanted to know what are the possible problems we face if we go by Kubernetes On Thu, Oct 11, 2018 at 4:06 PM Ben Bromhead wrote: > This is a fairly high-level question which could end up going quite deep, > but below is a quick summary off the top of my head. > > You can get a few advantages when running Cassandra in Kubernetes, > particularly: > > - Easy discovery and network connectivity with other services running > on K8s > - Reproducible, repeatable operations and deployments > - A cloud-independent approach to container orchestration, that is > supported by all major cloud providers. > - Easy backups, deployments, scaling etc via statefulsets or an > operator (see https://github.com/instaclustr/cassandra-operator). > > There are also some rough edges with running Cassandra on Kubernetes: > > - Failure domain placement with statefulsets is still challenging > (v1.12 goes a long way to fixing this - > https://kubernetes.io/blog/2018/10/11/topology-aware-volume-provisioning-in-kubernetes/ > ) > - Getting resource constraints correct and working out scheduling in > constrained environments can be maddening. > - Only a few, small deployments (that I'm aware of) are running > Cassandra in Kubernetes in production. So you will be breaking new ground > and encounter problems that haven't been solved before. > - The Cassandra examples in the official Kubernetes documentation is > not something you want to take into production. > > Cheers > > Ben > > On Thu, Oct 11, 2018 at 6:50 PM Goutham reddy > wrote: > >> Hi, >> We are in the process of setting up Cassandra cluster with high >> availability. So the debate is installing Cassandra in Kubernetes cluster. >> Can someone throw some light, what advantages can I get when created >> Cassandra cluster inside Kubernetes cluster. Any comments are highly >> appreciated:) >> >> Thanks and Regards, >> Goutham Reddy Aenugu. >> -- >> Regards >> Goutham Reddy >> > -- > Ben Bromhead > CTO | Instaclustr > +1 650 284 9692 > Reliability at Scale > Cassandra, Spark, Elasticsearch on AWS, Azure, GCP and Softlayer > -- Regards Goutham Reddy --000000000000855eb805781a29a6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Ben for the detailed insight. Btw we are plan= ning to set up Kubernetes Cassandra cluster in Development. We wanted to kn= ow what are the possible problems we face if we go by Kubernetes=C2=A0

On Thu, Oct 11,= 2018 at 4:06 PM Ben Bromhead <be= n@instaclustr.com> wrote:
This is a fairly high-level question which could end up= going quite deep, but below is a quick summary off the top of my head.=C2= =A0=C2=A0

You can get a few advantages when running Cas= sandra in Kubernetes, particularly:=C2=A0
  • Easy discovery and ne= twork connectivity with other services running on K8s
  • Reproducible,= repeatable operations and deployments
  • A cloud-independent approach= to container orchestration, that is supported by all major cloud providers= .
  • Easy backups, deployments, scaling etc via statefulsets=C2=A0or a= n operator (see=C2=A0https://github.com/instaclustr/cassandra-operator= ).
There are also some rough edges with running Cassandra= on Kubernetes:
  • Failure domain placement with statefulset= s=C2=A0is still challenging (v1.12 goes a long way to fixing this -=C2=A0https://kubernetes.io/blog/2018/10= /11/topology-aware-volume-provisioning-in-kubernetes/)=C2=A0
  • Ge= tting resource constraints correct and working out scheduling in constraine= d environments can be maddening.=C2=A0
  • Only a few, small deployment= s (that I'm aware of) are running Cassandra in Kubernetes in production= . So you will be breaking new ground and encounter problems that haven'= t been solved before.
  • The Cassandra examples in the official Kubern= etes documentation is not something you want to take into production.
  • <= /ul>
    Cheers

Ben
--
<= div dir=3D"ltr">
Ben Bromhead
CTO |=C2=A0
Instaclustr
+1 650 284 9692
=
Reliability at Scale
Cassandra, Spark, Elasticsearch on AWS,= Azure, GCP and Softlayer
--
Regards
G= outham Reddy
--000000000000855eb805781a29a6--