Skip to content

Commit 2cebb1f

Browse files
chore(cnpg): scale shared-cluster from 3 instances to 2
This sandbox sees low-demand workloads. 2 instances (1 primary + 1 streaming replica) still gives automated failover; the third replica is unnecessary overhead — saves a pod, ~600Mi RAM, and a 20Gi block storage volume. When scaled down, cnpg will gracefully drain and remove `shared-cluster-3` (the highest-numbered replica). The `shared-cluster-3` PVC is retained per the `linode-block-storage-retain` storage class, in case we ever need to recover the data; can be deleted manually if not needed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8280e9c commit 2cebb1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infra/cloudnative-pg/shared-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: shared-cluster
55
namespace: cloudnative-pg
66
spec:
7-
instances: 3
7+
instances: 2
88
imageName: ghcr.io/cloudnative-pg/postgis:18-3-system-trixie
99
storage:
1010
size: 20Gi

0 commit comments

Comments
 (0)