From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #176: Using pgvector on Kubernetes with n > 1 replicas
Date: Wed, 05 Jul 2023 17:12:54 +0000
Message-ID: <gh-pgvector-pgvector-176-c1622167229@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-176@github.com>
References: <gh-pgvector-pgvector-176@github.com>
@ardasahiner This is an issue specific to how you're deploying the Pods on Kubernetes, not pgvector. By default, Kubernetes does not understand how replication works in PostgreSQL. Adding additional replicas in the manner that you did will effectively spawn independent PostgreSQL instances. If you're trying to build out a PostgreSQL cluster, you will have to use a different method, such as an Operator.