Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.42 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.42 KB

CloudNativePG Containers with TimescaleDB and TimescaleDB Toolkit

Build

This repo builds Docker images for CloudNativePG with the TimescaleDB extension installed.

Both versions are automatically updated by Renovate bot, so new releases will be available within a few hours.

Images

Images are available at ghcr.io/clevyr/cloudnativepg-timescale. There are tags available for Postgres v14, v15, and v16.

Deployment

Set .spec.imageName in the Cluster to use one of the container images provided by this repository.

For example:

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: example
spec:
  instances: 3
  imageName: ghcr.io/clevyr/cloudnativepg-timescale:16-ts2
  postgresql:
    shared_preload_libraries:
      - timescaledb
  bootstrap:
    initdb:
      postInitTemplateSQL:
        - CREATE EXTENSION IF NOT EXISTS timescaledb;
        - CREATE EXTENSION IF NOT EXISTS timescaledb_toolkit;

License notes

TimescaleDB is distributed under TSL license, you need to check if you are allowed to use this package here: https://www.timescale.com/legal/licenses