Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.
/ stolon-app Public archive
forked from gravitational/stolon-app

Opinionated stolon gravity/kubernetes app.

License

Notifications You must be signed in to change notification settings

mulesoft/stolon-app

 
 

Repository files navigation

stolon-app

Stolon packaged as gravity app.

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

About

Opinionated stolon gravity/kubernetes app.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 54.9%
  • Shell 24.3%
  • Mustache 7.8%
  • Makefile 6.9%
  • Dockerfile 5.9%
  • PLpgSQL 0.2%