Skip to content

Commit

Permalink
feat: add aio overlay for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeRepko committed Aug 9, 2024
1 parent acdcffa commit aa8f2cc
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base-kustomize/postgres-cluster/aio/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
resources:
- postgres-cluster.yaml
25 changes: 25 additions & 0 deletions base-kustomize/postgres-cluster/aio/postgres-cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: "acid.zalan.do/v1"
kind: postgresql
metadata:
name: postgres-cluster
namespace: openstack
spec:
dockerImage: ghcr.io/zalando/spilo-16:3.2-p3
teamId: "acid"
numberOfInstances: 1
postgresql:
version: "16"
parameters:
shared_buffers: "32MB"
max_connections: "256"
log_statement: "all"
volume:
size: 20Gi
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/worker
operator: In
values:
- worker

0 comments on commit aa8f2cc

Please sign in to comment.