All Projects → gravitational → stolon-app

gravitational / stolon-app

Licence: Apache-2.0 license
Opinionated stolon gravity/kubernetes app.

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Mustache
554 projects
Makefile
30231 projects
Dockerfile
14818 projects
PLpgSQL
1095 projects

stolon-app

Stolon packaged as a Gravity application.

Provides

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

Based on

This example included with stolon

Building

Building images

Execute all make target(could be omiited as it is default target).

$ make

Building self-sufficient gravity image(a.k.a Cluster Image)

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

Prerequisites

  • docker >= 1.8
  • golang >= 1.13
  • GNU make
  • kubectl >= 1.15
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].