Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m7xyL-0004pu-83 for pgsql-admin@arkaria.postgresql.org; Mon, 26 Jul 2021 10:36:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m7xyI-00052A-D5 for pgsql-admin@arkaria.postgresql.org; Mon, 26 Jul 2021 10:36:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m7xyH-00051s-Uz for pgsql-admin@lists.postgresql.org; Mon, 26 Jul 2021 10:36:30 +0000 Received: from admin.sibptus.ru ([2001:19f0:5001:21dc::10]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m7xyD-0000mU-Mc for pgsql-admin@lists.postgresql.org; Mon, 26 Jul 2021 10:36:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=IpYSPmklYX+mM7W5rnXsYgi0z6P4nr28OAl5ubNIM0Y=; b=o5c28UXqQYjK1AnHacSzB75OHm q6tlmdKTqqjcp61d2pck33MCsZVZPh6qix4W8XTpFeGYKIW58+6PrlTkhaGig2NmbcAv/qH4TtmR+ mc8DreiczDB7B37H5grWqmzqfYQdCsR+lhIUKN4PSFIl31L7xJYVpwlk+To6u4MEdE3o=; Received: from vas by admin.sibptus.ru with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1m7xyA-000GXs-NY for pgsql-admin@lists.postgresql.org; Mon, 26 Jul 2021 17:36:22 +0700 Date: Mon, 26 Jul 2021 17:36:22 +0700 From: Victor Sudakov To: pgsql-admin@lists.postgresql.org Subject: Running PostgreSQL in Kubernetes? Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hWpEmYwtOzEddg2F" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --hWpEmYwtOzEddg2F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, Is anyone running PostgreSQL in Kubernetes? If you do, what solution do you prefer?=20 What I've tried myself: 1. Running the official postgres:12.6 images in a StatefulSet. It works fine but there is neither failover nor replication. 2. Zalando's postgres-operator. Replication and failover work out of the box, but the documentation is not the best. Things like wal-g backup and PITR are probably possible, but you need to be an egghead to figure out how to make them work. Why, I cannot even figure out how to add a team after installing the postgres-operator from the official Helm repo. I'd be especially grateful if you shared your own personal experience with Kubernetes and PostgreSQL. --=20 Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet --hWpEmYwtOzEddg2F Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJg/pAmAAoJEA2k8lmbXsY0Hd8IAIhLjjdVCRP42UomyInm+HmO bgnJj+jzSlsAJQdhTbtl6ktv/mQyePZXOUyCfyq/vOODu+CVxHS8dkOXiZyGJzyo 8/diwtxqd/lm/moAcczTqUB7cGmZgwYmeKMsYZdyQlRWlhueUWRPc6NraxxyYoiM bE2N0jQXddnfWbHXaEZNzpBQU7WmYdruwhBELwzu3w7fAf3bZnQcaV0+fFr1AyhK HCQEJVxlt7XnMdAMja+M3Rp0dw2C7aDyFcWBtzIynXSLxKZmdWiSYHyBITil+VP6 yxyOQsgZuCjcxQnkgRbCe2wNVowOeiuMxqtLFMdSzNCYgty3L9Cq6D9Egi3Nfxw= =+bJq -----END PGP SIGNATURE----- --hWpEmYwtOzEddg2F--