Stolon packaged as gravity app.
Kubernetes resouces in resources
folder.
Once deployed or installed, this app will provide HA Postgres via stolon proxy servers, you can find endpoint using:
$ kubectl describe svc/stolon-postgres
This example included with stolon
Execute all
make target(could be omiited as it is default target).
$ make
Download gravity and tele binaries
make download-binaries
Dowload and unpack dependent application packages into state directory(./state
by default)
make install-dependent-packages
Build cluster image
export PATH=$(pwd)/bin:$PATH
make build-app
Optional: Build cluster image with intermediate runtime
export PATH=$(pwd)/bin:$PATH
make build-app INTERMEDIATE_RUNTIME_VERSION=6.1.47
- docker >= 1.8
- golang >= 1.13
- GNU make
- kubectl >= 1.15