Git Product home page Git Product logo

Comments (3)

feikesteenbergen avatar feikesteenbergen commented on August 19, 2024 2

No, that Docker image does not contain Patroni.

However, the Docker image that is referred to in this repository does have pg_prometheus installed, so by setting the following in your values.yaml you should have pg_prometheus preloaded:

myvalues.yaml

patroni:
  bootstrap:
    dcs:
      postgresql:
        parameters:
          shared_preload_libraries: timescaledb,pg_prometheus,pg_stat_statements

Afterwards, you can install the extension in any database:

$ kubectl exec -ti pod/deployment-timescaledb-0 -- psql
psql (11.6 (Debian 11.6-1.pgdg100+1))
Type "help" for help.

postgres=# CREATE EXTENSION pg_prometheus;
CREATE EXTENSION
postgres=# \dx pg_prometheus
                     List of installed extensions
     Name      | Version | Schema |            Description            
---------------+---------+--------+-----------------------------------
 pg_prometheus | 0.2.2   | public | Prometheus metrics for PostgreSQL
(1 row)

postgres=# 

from helm-charts.

rleiwang avatar rleiwang commented on August 19, 2024

Thanks, I followed the instructions and it works. Another question I have is, there are two repos on docker hub, timescaledev and timescale, are they the same?

from helm-charts.

feikesteenbergen avatar feikesteenbergen commented on August 19, 2024

timescaledev and timescale, are they the same?

No, they are different; as the Docker image of these Helm Charts is becoming quite stable, it may be time to switch that Docker image to timescale instead of timescaledev.

from helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.