PostgreSQL
postgresql/standalone
Single-node PostgreSQL deployment for Kubernetes
Deploys a single-node PostgreSQL 17 instance into a local Kind cluster with host access on port 30432.
Install gck#
go install github.com/gravitee-io-labs/gck@latest
For other installation methods, see Installation .
Usage#
Create#
gck create --from postgresql/standalone
Cleanup#
gck delete
Quick Start#
Connect from your host:
PGPASSWORD=postgres psql -h localhost -p 30432 -U postgres -d gravitee
| Parameter | Value |
|---|---|
| Database | gravitee |
| User | postgres |
| Password | postgres |
Endpoints
Services this context exposes on your machine after gck create, including the ones it inherits from the contexts it composes. Rows marked with a flag only exist when you pass it.
| Service | URL | Notes | From |
|---|---|---|---|
| PostgreSQL | localhost:30432 | postgresql/standalone |
Variables
Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.
| Variable | Default | Origin | Description |
|---|---|---|---|
clusterName | pg-standalone | postgresql/standalone | Name of the Kind cluster |
imageRepository | postgres | postgresql/standalone | PostgreSQL Docker image repository |
imageTag | 17 | postgresql/standalone | PostgreSQL Docker image tag |
postgresDatabase | gravitee | postgresql/standalone | Database to create on first startup |