PostgreSQL - Standalone
postgresql/standalone
Single-node PostgreSQL 17 deployment for Kubernetes
Deploys a single-replica PostgreSQL 17 instance as a Kubernetes Deployment with a NodePort Service on port 5432.
Usage#
sew create --from postgresql/standalone
Details#
- Image:
postgres:17 - Port: 5432
- Database:
gravitee - Credentials:
postgres/postgres - Resources: 250m–1 CPU, 256Mi–512Mi memory
Host access#
Kind maps hostPort 30432 → containerPort 30432 (NodePort) → targetPort 5432.
From the host, connect to localhost:30432.
This is a minimal, persistence-free PostgreSQL suitable for development and
testing. It is used as a dependency by higher-level contexts such as
gravitee.io/oss/apim/postgres.
Post-deploy notes
Your cluster "pg-standalone" is ready.
PostgreSQL is available at localhost:30432.
Database gravitee
User postgres
Password postgres
PGPASSWORD=postgres psql -h localhost -p 30432 -U postgres -d gravitee