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 1m8H1h-0004v0-2i for pgsql-admin@arkaria.postgresql.org; Tue, 27 Jul 2021 06:57:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m8H1f-0004iy-Sn for pgsql-admin@arkaria.postgresql.org; Tue, 27 Jul 2021 06:57:15 +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 1m8H1f-0004iq-I2 for pgsql-admin@lists.postgresql.org; Tue, 27 Jul 2021 06:57:15 +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 1m8H1c-0002BV-Nz for pgsql-admin@lists.postgresql.org; Tue, 27 Jul 2021 06:57:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=2/Ku1mVuj84UEvVYHcVsDYrVjC+P5P7YuOn85Uye32A=; b=RdaTtHuqrfwsKc2S+gnVGLuC8j 2NFlqb4Ta77GP6btXngzbSpcWkVqtvmK2KwINJwJ5M4Jx6xI9S+sSyjr1zJ+JMA36MBHKRTZQJ4oh Ny3l3T8vWN8VayvUUOYbkxF59qhehRHWpODXwzTSwsRAJWEZEqctfMJZ4S2clfpFTSgY=; Received: from vas by admin.sibptus.ru with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1m8H1Z-000LjS-Pz; Tue, 27 Jul 2021 13:57:09 +0700 Date: Tue, 27 Jul 2021 13:57:09 +0700 From: Victor Sudakov To: Scott Ribe Cc: Pgsql-admin Subject: Re: Running PostgreSQL in Kubernetes? Message-ID: References: <353A1D55-3DFF-43B1-B906-147C9C511435@elevated-dev.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tkyKw53ahib+5+vx" Content-Disposition: inline In-Reply-To: <353A1D55-3DFF-43B1-B906-147C9C511435@elevated-dev.com> 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 --tkyKw53ahib+5+vx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Scott Ribe wrote: > > Is anyone running PostgreSQL in Kubernetes? If you do, what solution do > > you prefer?=20 > >=20 > > What I've tried myself: > >=20 > > 1. Running the official postgres:12.6 images in a StatefulSet. It works > > fine but there is neither failover nor replication. > >=20 > > 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. > >=20 > > I'd be especially grateful if you shared your own personal experience > > with Kubernetes and PostgreSQL. >=20 > We're using CrunchyData's operator, which in turn uses Patroni & pgbackre= st... Hello Scott, Thank you for the hint! The CrunchyData's operator looks like a cleaner implementation than Zalando's. I'll continue testing. Have you been able to a) upload backups to S3 and b) perform PITR from S3 with CrunchyData? --=20 Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet --tkyKw53ahib+5+vx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJg/65FAAoJEA2k8lmbXsY0VsAH/Au4+oRZrC0Wq27/3KJmUpOj FQkogSzgjuMeObEb1IYXI9ChsA5fAINbNfoQaWAUT6d6ktZ2huFIkPSveEZwkfmn 6AOrkb09hkugAPk6A+I3dGLa0iAH1hGqHFblE8T/9CrZTuw7ttd7UnXTbjaHjp4j DelX+vRU3NlCZDZ/E9NyG5f1sJZza5I1rNXnRYGT4SxlQ7EvBJetjXQFLRqgxdPl kocG6+XKhsVzIM7Y5h5AbOB5Umt5J4fzxtKgn1V0DKJDOpnZY6v1iH3n7x8lzX2j cODrEK2SytJlEKarwGYbnffGynNwSBTay/qCYVqhx276azHEqwcqvIhLwgjuFPg= =H3Vu -----END PGP SIGNATURE----- --tkyKw53ahib+5+vx--